Skip to content

Commit 5043d30

Browse files
SystemKeepergabriel-samfira
authored andcommitted
fix: Build binaries to bin directory
Signed-off-by: Marcel Müller <[email protected]>
1 parent 98cc64f commit 5043d30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ default: build
1515
.PHONY : build build-static test install-lint-deps lint go-test fmt fmtcheck verify-vendor verify create-release-files release
1616

1717
build:
18-
@$(GO) build .
18+
@echo Building
19+
$(shell mkdir -p ./bin)
20+
@$(GO) build -o bin/$(GARM_PROVIDER_NAME) .
21+
@echo Binaries are available in $(PWD)/bin
1922

2023
clean: ## Clean up build artifacts
2124
@rm -rf ./bin ./build ./release

0 commit comments

Comments
 (0)