summaryrefslogtreecommitdiff
path: root/go/Makefile
diff options
context:
space:
mode:
authorBrad Clawsie <brad@b7j0c.org>2023-10-28 12:46:43 -0500
committerBrad Clawsie <brad@b7j0c.org>2023-10-28 12:46:43 -0500
commit7f925ebe91fbf51af5ddb0629db12e23fb874879 (patch)
treed2cc3778b9a9e4160e075b53d1b74c5815fa314e /go/Makefile
parenta7e490110b0b921e9724dd8eff9eb1a2815a2636 (diff)
go
Diffstat (limited to 'go/Makefile')
-rw-r--r--go/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/go/Makefile b/go/Makefile
new file mode 100644
index 0000000..7e806c7
--- /dev/null
+++ b/go/Makefile
@@ -0,0 +1,10 @@
+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