diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..e660fd9 --- /dev/null +++ b/.dockerignore @@ -0,0 +1 @@ +bin/ diff --git a/Makefile b/Makefile index f4e2f08..697091a 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,8 @@ GOFLAGS=-mod=vendor .PHONY: build build: ## Build compose-ref binary - GOPRIVATE=$(PACKAGE) GOFLAGS=$(GOFLAGS) go build compose-ref.go + @mkdir -p bin/ + GOPRIVATE=$(PACKAGE) GOFLAGS=$(GOFLAGS) go build -o bin/compose-ref compose-ref.go .PHONY: test test: ## Run tests diff --git a/scripts/validate/fileheader b/scripts/validate/fileheader index 5144210..1d3f564 100755 --- a/scripts/validate/fileheader +++ b/scripts/validate/fileheader @@ -25,4 +25,4 @@ fi BASEPATH="${1-}" -ltag -t "${BASEPATH}scripts/validate/template" --excludes "validate vendor" --check -v +ltag -t "${BASEPATH}scripts/validate/template" --excludes "bin validate vendor" --check -v