mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-23 01:55:10 +00:00
go vet by tag
Signed-off-by: sapthasurendran <saptha.surendran@ibm.com>
This commit is contained in:
parent
1019c9800b
commit
f57a5e9dd9
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ for dir in $dirs; do
|
|||
pushd $dir
|
||||
if [[ "$dir" =~ "-go" ]]; then
|
||||
print "Running go vet"
|
||||
go vet ./...
|
||||
go vet -tags pkcs11 ./...
|
||||
print "Running gofmt"
|
||||
output=$(gofmt -l -s $(go list -f '{{.Dir}}' ./...))
|
||||
if [[ "${output}" != "" ]]; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue