build: Add gosimple linter to goclean.sh.

This modifies the goclean.sh script to include the gosimple lint tool to
the gometalinter configuration.
This commit is contained in:
Dave Collins 2016-11-02 23:53:07 -05:00
parent 915fa6639b
commit c180551348
No known key found for this signature in database
GPG key ID: B8904D9D9C93D1F2

View file

@ -16,6 +16,7 @@ test -z "$(gometalinter --disable-all \
--enable=gofmt \
--enable=golint \
--enable=vet \
--enable=gosimple \
--deadline=20s $(glide novendor) | grep -v 'ALL_CAPS\|OP_' 2>&1 | tee /dev/stderr)"
env GORACE="halt_on_error=1" go test -v -race -tags rpctest $(glide novendor)