From f6f3298e03fe39a8b62479a22214a7602d4c6cd1 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Sun, 11 Sep 2022 20:27:00 -0400 Subject: [PATCH] misc: Use go install instead of go get for build binaries --- misc/make-deps.sh | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/misc/make-deps.sh b/misc/make-deps.sh index 48542a44..4aa36f1c 100755 --- a/misc/make-deps.sh +++ b/misc/make-deps.sh @@ -144,13 +144,12 @@ fi [ -e "$GOBIN/mgmt" ] && rm -f "$GOBIN/mgmt" # the `go get` version has no -X fold_start "Install golang tools" -# TODO: change this for golang 1.17 -go get github.com/blynn/nex # for lexing -go get golang.org/x/tools/cmd/goyacc # formerly `go tool yacc` -go get golang.org/x/tools/cmd/stringer # for automatic stringer-ing -go get golang.org/x/lint/golint # for `golint`-ing -go get golang.org/x/tools/cmd/goimports # for fmt -go get github.com/dvyukov/go-fuzz/go-fuzz # for fuzzing the mcl lang bits +go install github.com/blynn/nex # for lexing +go install golang.org/x/tools/cmd/goyacc # formerly `go tool yacc` +go install golang.org/x/tools/cmd/stringer # for automatic stringer-ing +go install golang.org/x/lint/golint # for `golint`-ing +go install golang.org/x/tools/cmd/goimports # for fmt +go install github.com/dvyukov/go-fuzz/go-fuzz # for fuzzing the mcl lang bits if in_ci; then go get -u gopkg.in/alecthomas/gometalinter.v1 && \ mv "$(dirname $(command -v gometalinter.v1))/gometalinter.v1" "$(dirname $(command -v gometalinter.v1))/gometalinter" && \