diff options
Diffstat (limited to 'go')
| -rw-r--r-- | go/Makefile | 12 | ||||
| -rw-r--r-- | go/justfile | 8 |
2 files changed, 8 insertions, 12 deletions
diff --git a/go/Makefile b/go/Makefile deleted file mode 100644 index 9938818..0000000 --- a/go/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -GO = go - -# install/update some useful tools in local env -.PHONY: tools -tools: - $(GO) install golang.org/x/tools/cmd/goimports@latest - $(GO) install mvdan.cc/gofumpt@latest - $(GO) install github.com/golangci/golangci-lint/cmd/golangci-lint@latest - $(GO) install honnef.co/go/tools/cmd/staticcheck@latest - $(GO) install golang.org/x/vuln/cmd/govulncheck@latest - $(GO) install golang.org/x/tools/gopls@latest - diff --git a/go/justfile b/go/justfile new file mode 100644 index 0000000..233aead --- /dev/null +++ b/go/justfile @@ -0,0 +1,8 @@ +tools: + go install golang.org/x/tools/cmd/goimports@latest + go install mvdan.cc/gofumpt@latest + go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest + go install honnef.co/go/tools/cmd/staticcheck@latest + go install golang.org/x/vuln/cmd/govulncheck@latest + go install golang.org/x/tools/gopls@latest + |
