This repository was archived by the owner on Mar 22, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Expand file tree Collapse file tree 4 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1+ bin /
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ GOFLAGS=-mod=vendor
2121
2222.PHONY : build
2323build : # # 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
2728test : # # Run tests
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ WORKDIR /go/src
1818
1919ARG GOLANGCILINT_VERSION=v1.24.0
2020RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCILINT_VERSION}
21+ RUN go get -v -u github.com/kunalkushwaha/ltag && rm -rf /go/src/github.com/kunalkushwaha
2122
2223ENV GOFLAGS=-mod=vendor
2324COPY . .
Original file line number Diff line number Diff line change 2525
2626BASEPATH=" ${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
You can’t perform that action at this time.
0 commit comments