|
|
@ -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 \
|
|
|
|