From 623b062e17fb1aebae74aad74d1fc637bde520b2 Mon Sep 17 00:00:00 2001 From: Edward Muller Date: Wed, 7 Aug 2019 14:33:39 -0700 Subject: [PATCH] Forgot this removal in my last PR. (#84) goimports is no longer in tools.go and should have been removed from the Makefile. --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 1d5e82a28..6e9812022 100644 --- a/Makefile +++ b/Makefile @@ -16,13 +16,10 @@ TOOLS_DIR := ./.tools $(TOOLS_DIR)/golangci-lint: go.mod go.sum tools.go go build -o $(TOOLS_DIR)/golangci-lint github.com/golangci/golangci-lint/cmd/golangci-lint -$(TOOLS_DIR)/goimports: go.mod go.sum tools.go - go build -o $(TOOLS_DIR)/goimports golang.org/x/tools/cmd/goimports - $(TOOLS_DIR)/misspell: go.mod go.sum tools.go go build -o $(TOOLS_DIR)/misspell github.com/client9/misspell/cmd/misspell -precommit: $(TOOLS_DIR)/goimports $(TOOLS_DIR)/golangci-lint $(TOOLS_DIR)/misspell +precommit: $(TOOLS_DIR)/golangci-lint $(TOOLS_DIR)/misspell $(TOOLS_DIR)/golangci-lint run --fix # TODO: Fix this on windows. $(TOOLS_DIR)/misspell -w $(ALL_DOCS)