From 8201c9254434a741d2e78d427fe0ef0a8cabaa18 Mon Sep 17 00:00:00 2001 From: ValarDragon Date: Thu, 11 Oct 2018 00:38:55 -0700 Subject: [PATCH] fix bugs --- Makefile | 4 ++-- scripts/get_tools.sh | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9adc8416f..9f75256ed 100644 --- a/Makefile +++ b/Makefile @@ -188,8 +188,8 @@ test_cover: @export VERSION=$(VERSION); bash tests/test_cover.sh test_lint: - gometalinter.v2 --config=tools/gometalinter.json ./... - !(gometalinter.v2 --exclude /usr/lib/go/src/ --exclude client/lcd/statik/statik.go --exclude 'vendor/*' --disable-all --enable='errcheck' --vendor ./... | grep -v "client/") + gometalinter --config=tools/gometalinter.json ./... + !(gometalinter --exclude /usr/lib/go/src/ --exclude client/lcd/statik/statik.go --exclude 'vendor/*' --disable-all --enable='errcheck' --vendor ./... | grep -v "client/") find . -name '*.go' -type f -not -path "./vendor*" -not -path "*.git*" | xargs gofmt -d -s dep status >> /dev/null !(grep -n branch Gopkg.toml) diff --git a/scripts/get_tools.sh b/scripts/get_tools.sh index fd04c3df7..79ab32dec 100755 --- a/scripts/get_tools.sh +++ b/scripts/get_tools.sh @@ -5,11 +5,9 @@ set -e # specific git hash. # # repos it installs: -# github.com/mitchellh/gox # github.com/golang/dep/cmd/dep # gopkg.in/alecthomas/gometalinter.v2 -# github.com/gogo/protobuf/protoc-gen-gogo -# github.com/square/certstrap +# github.com/rakyll/statiik ## check if GOPATH is set if [ -z ${GOPATH+x} ]; then