update scripts/build.sh to run test only on v1

This commit is contained in:
Travis McLane 2020-09-04 13:38:17 -05:00 committed by Lea Anthony
commit cbd98b5a1a
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
echo "**** Checking if Wails passes unit tests ****"
if ! go test ./...
if ! go test ./lib/... ./runtime/... ./cmd/...
then
echo ""
echo "ERROR: Unit tests failed!"