From c77a0bd1966c5db4d316c442c687dbd229056d89 Mon Sep 17 00:00:00 2001 From: Adrien Delorme Date: Fri, 6 Sep 2019 12:15:27 +0200 Subject: [PATCH] remove goimports dependency as the generated code is now correct and won't need fixing this should save us from running this command every now an then --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 42a986dab..7cff39ceb 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,6 @@ install-gen-deps: ## Install dependencies for code generation # out code dependencies; so a go mod tidy will remove them again. `go # install` seems to install the last tagged version and we want to install # master. - @(cd $(TEMPDIR) && go get golang.org/x/tools/cmd/goimports) @(cd $(TEMPDIR) && GO111MODULE=on go get github.com/mna/pigeon@master) @(cd $(TEMPDIR) && go get github.com/alvaroloes/enumer) @@ -97,7 +96,6 @@ fmt-examples: generate: install-gen-deps ## Generate dynamically generated code go generate ./... go fmt common/bootcommand/boot_command.go - goimports -w common/bootcommand/boot_command.go go fmt command/plugin.go generate-check: generate ## Check go code generation is on par