diff --git a/Makefile b/Makefile index 0dca566..09ff1bb 100644 --- a/Makefile +++ b/Makefile @@ -15,15 +15,8 @@ clean: distclean: clean rm -rf vendor -BIN_DIR := $(GOPATH)/bin -GOMETALINTER := $(BIN_DIR)/gometalinter - -$(GOMETALINTER): - $(GO) get -u github.com/alecthomas/gometalinter - gometalinter --install %> /dev/null - .PHONY: lint -lint: $(GOMETALINTER) +lint: $(GOMETALINTER) --vendor --disable-all \ --enable=vet \ --enable=vetshadow \ diff --git a/configure b/configure index 24790ab..9d93215 100755 --- a/configure +++ b/configure @@ -126,6 +126,7 @@ check_for go check_go_version check_go_env check_for dep +check_for gometalinter echo @@ -134,6 +135,7 @@ cat <<- EOF > .env GO := "${tools[go]}" GO_VERSION := ${tools[go_version]} DEP := "${tools[dep]}" + GOMETALINTER := "${tools[gometalinter]}" EOF echo "Environment configuration written to .env"