Use existing goimports installation if available
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
GOIMPORTS_BIN ?= $(shell which goimports || true)
|
||||
GOTEST_FLAGS ?= -v --coverprofile main.coverprofile --covermode count --cover github.com/urfave/cli/v2/cmd/urfave-cli-genflags
|
||||
GOBUILD_FLAGS ?= -x
|
||||
|
||||
export GOIMPORTS_BIN
|
||||
|
||||
.PHONY: all
|
||||
all: test build smoke-test
|
||||
|
||||
|
Reference in New Issue
Block a user