ignoring template directory in cosmos-sdk-cli

This commit is contained in:
Sridhar Ganesan 2018-07-16 21:23:27 +02:00
parent c0cf595221
commit e3a54f7c28
1 changed files with 2 additions and 2 deletions

View File

@ -129,9 +129,9 @@ test_cover:
@bash tests/test_cover.sh
test_lint:
gometalinter.v2 --config=tools/gometalinter.json ./... --exclude cmd/cosmos-sdk-cli
gometalinter.v2 --config=tools/gometalinter.json ./... --exclude cmd/cosmos-sdk-cli/template
!(gometalinter.v2 --disable-all --enable='errcheck' --vendor ./... | grep -v "client/" | grep -v "cosmos-sdk-cli/template/")
find . -name '*.go' -type f -not -path "./vendor*" -not -path "./cmd/cosmos-sdk-cli/*" -not -path "*.git*" | xargs gofmt -d -s
find . -name '*.go' -type f -not -path "./vendor*" -not -path "./cmd/cosmos-sdk-cli/template" -not -path "*.git*" | xargs gofmt -d -s
dep status >> /dev/null
!(grep -n branch Gopkg.toml)