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

View File

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