forked from valkey-io/valkey-glide
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add make target to install go1.18 tools
- Loading branch information
1 parent
6cd71e4
commit 2143942
Showing
2 changed files
with
22 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
install-tools-go1.18: | ||
go install github.com/vakenbolt/[email protected] | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install mvdan.cc/[email protected] | ||
go install golang.org/x/tools/cmd/[email protected] | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
|
||
install-tools: | ||
go install github.com/vakenbolt/[email protected] | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install mvdan.cc/[email protected] | ||
go install golang.org/x/tools/cmd/[email protected] | ||
go_minor=$$(go version | sed 's/.* go\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/'); \ | ||
if [ "$$go_minor" -eq 18 ]; then staticcheck_version=v0.3.3; else staticcheck_version=v0.4.6; fi; \ | ||
go install honnef.co/go/tools/cmd/staticcheck@$$staticcheck_version | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
|
||
build: build-glide-core build-glide-client generate-protobuf | ||
go build ./... | ||
|