Skip to content

Commit

Permalink
script alterations
Browse files Browse the repository at this point in the history
  • Loading branch information
rickb777 committed Sep 18, 2019
1 parent 7995dd9 commit e1afd88
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions build+test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ if ! type -p goveralls; then
v go install github.com/mattn/goveralls
fi

#if ! type -p shadow; then
# v go get golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
#fi
if ! type -p shadow; then
v go install golang.org/x/tools/go/analysis/passes/shadow/cmd/shadow
fi

if ! type -p goreturns; then
v go install github.com/sqs/goreturns
Expand All @@ -39,7 +39,6 @@ v goreturns -l -w *.go */*.go

v go vet ./...

# shadow check fails in Travis
#v go vet -vettool=$(type -p shadow) ./...
v shadow ./...

v go install ./datetool

0 comments on commit e1afd88

Please sign in to comment.