Skip to content

Commit

Permalink
fix(make) go install replaces go get for installing packages that…
Browse files Browse the repository at this point in the history
… should not be used in a module
  • Loading branch information
Charles Carlfjord committed Mar 9, 2021
1 parent aaeb2e2 commit c00f7f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ GOLANGCI_LINT_DEADLINE ?= 180
DOCKER_BUILD_FLAGS :=

setup:
go get -v -u golang.org/x/tools/cmd/goimports
go install golang.org/x/tools/cmd/goimports
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $$(go env GOPATH)/bin v1.23.8
go get -v -u github.com/jstemmer/go-junit-report
go get -v github.com/mattn/goveralls
go install github.com/jstemmer/go-junit-report
go install github.com/mattn/goveralls

build: *.go fmt
go build -o build/bin/$(ARCH)/$(BINARY_NAME) $(GOBUILD_VERSION_ARGS) github.com/jtblin/$(BINARY_NAME)/cmd
Expand Down

0 comments on commit c00f7f0

Please sign in to comment.