Skip to content

Commit

Permalink
Fix SOURCE_DIRS inference in Makefile; fix golangci install
Browse files Browse the repository at this point in the history
  • Loading branch information
kaustubhkurve committed Aug 6, 2020
1 parent a434f76 commit 89c4040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: clean check-quality build test golangci

ALL_PACKAGES=$(shell go list ./...)
SOURCE_DIRS=$(shell go list ./... | cut -d "/" -f2 | uniq)
SOURCE_DIRS=$(shell go list ./... | cut -d "/" -f4 | uniq)

clean:
rm -rf ./bin
Expand Down Expand Up @@ -36,7 +36,7 @@ fix_imports:
goimports -l -w .

golangci:
GO111MODULE=off go get -v github.com/golangci/golangci-lint/cmd/golangci-lint
GO111MODULE=on go get -v github.com/golangci/golangci-lint/cmd/golangci-lint
golangci-lint run -v --deadline 5m0s


Expand Down

0 comments on commit 89c4040

Please sign in to comment.