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
parent c8e0aea69c
commit cbd98b5a1a

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!"