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