Skip to content
This repository was archived by the owner on Mar 22, 2022. It is now read-only.

Commit 7fc6649

Browse files
committed
Output built binary in bin/
Signed-off-by: Christopher Crone <[email protected]>
1 parent 9652a4c commit 7fc6649

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ GOFLAGS=-mod=vendor
2121

2222
.PHONY: build
2323
build: ## Build compose-ref binary
24-
GOPRIVATE=$(PACKAGE) GOFLAGS=$(GOFLAGS) go build compose-ref.go
24+
@mkdir -p bin/
25+
GOPRIVATE=$(PACKAGE) GOFLAGS=$(GOFLAGS) go build -o bin/compose-ref compose-ref.go
2526

2627
.PHONY: test
2728
test: ## Run tests

scripts/validate/fileheader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ fi
2525

2626
BASEPATH="${1-}"
2727

28-
ltag -t "${BASEPATH}scripts/validate/template" --excludes "validate vendor" --check -v
28+
ltag -t "${BASEPATH}scripts/validate/template" --excludes "bin validate vendor" --check -v

0 commit comments

Comments
 (0)