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
21
21
22
22
.PHONY : build
23
23
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
25
26
26
27
.PHONY : test
27
28
test : # # Run tests
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ WORKDIR /go/src
18
18
19
19
ARG GOLANGCILINT_VERSION=v1.24.0
20
20
RUN 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
21
22
22
23
ENV GOFLAGS=-mod=vendor
23
24
COPY . .
Original file line number Diff line number Diff line change 25
25
26
26
BASEPATH=" ${1-} "
27
27
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