From e2e23c24644106dc76992c020d42302f4783e675 Mon Sep 17 00:00:00 2001 From: Brad Clawsie Date: Sun, 28 Apr 2024 02:51:31 -0500 Subject: justfile --- go/Makefile | 12 ------------ go/justfile | 8 ++++++++ 2 files changed, 8 insertions(+), 12 deletions(-) delete mode 100644 go/Makefile create mode 100644 go/justfile 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 + -- cgit v1.2.3