remove gopath prefixes

it's safe because I added GOPATH to PATH earlier today
This commit is contained in:
Anton Kaliaev 2017-12-11 23:05:22 -06:00
parent 10265d8667
commit a6644f7477
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with 5 additions and 5 deletions

View File

@ -58,10 +58,10 @@ get_vendor_deps:
@hash glide 2>/dev/null || go get github.com/Masterminds/glide
@rm -rf vendor/
@echo "--> Running glide install"
@$(GOPATH)/bin/glide install
@glide install
update_vendor_deps:
@$(GOPATH)/bin/glide update
@glide update
update_tools:
@echo "--> Updating tools"
@ -70,15 +70,15 @@ update_tools:
tools:
@echo "--> Installing tools"
@go get $(GOTOOLS)
$(GOPATH)/bin/gometalinter.v2 --install
@gometalinter.v2 --install
### Formatting, linting, and vetting
metalinter:
$(GOPATH)/bin/gometalinter.v2 --vendor --deadline=600s --enable-all --disable=lll ./...
gometalinter.v2 --vendor --deadline=600s --enable-all --disable=lll ./...
metalinter_test:
$(GOPATH)/bin/gometalinter.v2 --vendor --deadline=600s --disable-all \
gometalinter.v2 --vendor --deadline=600s --disable-all \
--enable=deadcode \
--enable=gosimple \
--enable=misspell \