Browse Source

remove gopath prefixes

it's safe because I added GOPATH to PATH earlier today
pull/964/head
Anton Kaliaev 7 years ago
parent
commit
a6644f7477
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      Makefile

+ 5
- 5
Makefile View File

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


Loading…
Cancel
Save