mirror of
https://github.com/stretchr/testify.git
synced 2025-05-30 11:14:08 +00:00
Simplify go vet command and use standard method for veting all packages
This commit is contained in:
parent
3b0d317f67
commit
f2b3a9bb9b
@ -1,10 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "$(dirname $0)"
|
||||
DIRS=". assert require mock _codegen"
|
||||
set -e
|
||||
for subdir in $DIRS; do
|
||||
pushd $subdir
|
||||
go vet
|
||||
popd
|
||||
done
|
||||
|
||||
go vet ./...
|
||||
|
Loading…
x
Reference in New Issue
Block a user