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

Commit fa02000

Browse files
authored
Merge pull request #40 from chris-crone/check-license
Add license headers and check
2 parents af6bdd4 + 7fc6649 commit fa02000

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-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

ci/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ WORKDIR /go/src
1818

1919
ARG GOLANGCILINT_VERSION=v1.24.0
2020
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
2122

2223
ENV GOFLAGS=-mod=vendor
2324
COPY . .

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)