Skip to content

Commit 0f79c0e

Browse files
authored
Merge pull request #429 from zeeke/go-install
Use `go install` to download binaries
2 parents 9880c2f + 333262d commit 0f79c0e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,22 +73,22 @@ $(BUILDDIR)/$(BINARY_NAME): $(GOFILES) | $(BUILDDIR)
7373
@cd $(BASE)/cmd/$(BINARY_NAME) && CGO_ENABLED=0 go build $(LDFLAGS) -o $(BUILDDIR)/$(BINARY_NAME) -tags no_openssl -v
7474

7575
$(GOLINT): | $(BASE) ; $(info building golint...)
76-
$Q go get -u golang.org/x/lint/golint
76+
$Q go install golang.org/x/lint/golint@latest
7777

7878
$(GOCOVMERGE): | $(BASE) ; $(info building gocovmerge...)
79-
$Q go get github.com/wadey/gocovmerge
79+
$Q go install github.com/wadey/gocovmerge@latest
8080

8181
$(GOCOV): | $(BASE) ; $(info building gocov...)
82-
$Q go get github.com/axw/gocov/...
82+
$Q go install github.com/axw/gocov/[email protected]
8383

8484
$(GCOV2LCOV): | $(BASE) ; $(info building gcov2lcov...)
85-
$Q go get github.com/jandelgado/gcov2lcov
85+
$Q go install github.com/jandelgado/gcov2lcov@latest
8686

8787
$(GOCOVXML): | $(BASE) ; $(info building gocov-xml...)
88-
$Q go get github.com/AlekSi/gocov-xml
88+
$Q go install github.com/AlekSi/gocov-xml@latest
8989

9090
$(GO2XUNIT): | $(BASE) ; $(info building go2xunit...)
91-
$Q go get github.com/tebeka/go2xunit
91+
$Q go install github.com/tebeka/go2xunit@latest
9292

9393
TEST_TARGETS := test-default test-bench test-short test-verbose test-race
9494
.PHONY: $(TEST_TARGETS) test-xml check test tests

0 commit comments

Comments
 (0)