Skip to content

Commit

Permalink
Use go env GOPATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi committed Mar 20, 2019
1 parent 52416d0 commit 58ae6bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Expand Up @@ -18,11 +18,11 @@ deps:
go get -u github.com/brianvoe/gofakeit
go get -u github.com/stretchr/testify/...

curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(GOPATH)/bin v1.12.3
curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $(shell go env GOPATH)/bin

# run all linters
check:
$(GOPATH)/bin/golangci-lint run ./...
$(shell go env GOPATH)/bin/golangci-lint run ./...

# run unit tests, generate models, install tools
test:
Expand Down

0 comments on commit 58ae6bd

Please sign in to comment.