Silence go vet composites warning

https://code.google.com/p/go/issues/detail?id=6820
This commit is contained in:
Jakob Borg 2015-03-25 23:15:52 +01:00
parent 6da7f17c4a
commit b44e87c6e8
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ case "${1:-default}" in
-e "STTRACE=$STTRACE" \
syncthing/build:latest \
sh -c './build.sh clean \
&& go vet ./cmd/... ./internal/... \
&& go tool vet -composites=false cmd/*/*.go internal/*/*.go \
&& ( golint ./cmd/... ; golint ./internal/... ) | egrep -v "comment on exported|should have comment" \
&& ./build.sh all \
&& STTRACE=all ./build.sh test-cov'