mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-25 19:15: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
|
pushd $dir
|
||||||
if [[ "$dir" =~ "-go" ]]; then
|
if [[ "$dir" =~ "-go" ]]; then
|
||||||
print "Running go vet"
|
print "Running go vet"
|
||||||
go vet ./...
|
go vet -tags pkcs11 ./...
|
||||||
print "Running gofmt"
|
print "Running gofmt"
|
||||||
output=$(gofmt -l -s $(go list -f '{{.Dir}}' ./...))
|
output=$(gofmt -l -s $(go list -f '{{.Dir}}' ./...))
|
||||||
if [[ "${output}" != "" ]]; then
|
if [[ "${output}" != "" ]]; then
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue