|
@ -1,7 +1,8 @@ |
|
|
GOTOOLS = \
|
|
|
GOTOOLS = \
|
|
|
github.com/mitchellh/gox \
|
|
|
github.com/mitchellh/gox \
|
|
|
github.com/Masterminds/glide \
|
|
|
github.com/Masterminds/glide \
|
|
|
github.com/alecthomas/gometalinter |
|
|
|
|
|
|
|
|
github.com/alecthomas/gometalinter \
|
|
|
|
|
|
github.com/ckaznocha/protoc-gen-lint |
|
|
|
|
|
|
|
|
all: protoc install test |
|
|
all: protoc install test |
|
|
|
|
|
|
|
@ -57,10 +58,12 @@ get_vendor_deps: |
|
|
|
|
|
|
|
|
metalinter: tools |
|
|
metalinter: tools |
|
|
@gometalinter --install |
|
|
@gometalinter --install |
|
|
|
|
|
protoc --lint_out=. types/*.proto |
|
|
gometalinter --vendor --deadline=600s --enable-all --disable=lll ./... |
|
|
gometalinter --vendor --deadline=600s --enable-all --disable=lll ./... |
|
|
|
|
|
|
|
|
metalinter_test: tools |
|
|
metalinter_test: tools |
|
|
@gometalinter --install |
|
|
@gometalinter --install |
|
|
|
|
|
# protoc --lint_out=. types/*.proto |
|
|
gometalinter --vendor --deadline=600s --disable-all \
|
|
|
gometalinter --vendor --deadline=600s --disable-all \
|
|
|
--enable=maligned \
|
|
|
--enable=maligned \
|
|
|
--enable=deadcode \
|
|
|
--enable=deadcode \
|
|
|