Skip to content

Commit 1d5b3a4

Browse files
committed
Makefile: use go install to install binaries
1 parent 089407e commit 1d5b3a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ test: pretest gotest
77

88
.PHONY: golangci-lint
99
golangci-lint:
10-
cd /tmp && GO111MODULE=on go get github.com/golangci/golangci-lint/cmd/golangci-lint@latest
10+
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
1111
golangci-lint run
1212

1313
.PHONY: staticcheck
1414
staticcheck:
15-
cd /tmp && GO111MODULE=on go get honnef.co/go/tools/cmd/staticcheck@master
15+
go install honnef.co/go/tools/cmd/staticcheck@master
1616
staticcheck ./...
1717

1818
.PHONY: lint

0 commit comments

Comments
 (0)