mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 09:50:08 +01:00
Prepare lint exceptions for upcoming btcjson merge.
This commit is contained in:
parent
4cee2a48cc
commit
2519ff2856
@ -12,7 +12,7 @@ set -e
|
||||
# Automatic checks
|
||||
test -z $(gofmt -l -w . | tee /dev/stderr)
|
||||
test -z $(goimports -l -w . | tee /dev/stderr)
|
||||
test -z $(golint ./... | grep -v "ALL_CAPS" | grep -v "OP_" | grep -v "NewFieldVal" | tee /dev/stderr)
|
||||
test -z $(golint ./... | grep -v "ALL_CAPS\|OP_\|NewFieldVal\|Id\|RpcCommand\|RpcRawCommand\|RpcSend\|Dns" | tee /dev/stderr)
|
||||
go tool vet -structtags=false .
|
||||
env GORACE="halt_on_error=1" go test -v -race ./...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user