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

Commit

Permalink
Merge pull request #40 from chris-crone/check-license
Browse files Browse the repository at this point in the history
Add license headers and check
  • Loading branch information
chris-crone authored Mar 26, 2020
2 parents af6bdd4 + 7fc6649 commit fa02000
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bin/
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions ci/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ WORKDIR /go/src

ARG GOLANGCILINT_VERSION=v1.24.0
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCILINT_VERSION}
RUN go get -v -u github.com/kunalkushwaha/ltag && rm -rf /go/src/github.com/kunalkushwaha

ENV GOFLAGS=-mod=vendor
COPY . .
2 changes: 1 addition & 1 deletion scripts/validate/fileheader
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit fa02000

Please sign in to comment.