diff --git a/.ci/compile.sh b/.ci/compile.sh index 9687f7a9a..68a0f96cf 100755 --- a/.ci/compile.sh +++ b/.ci/compile.sh @@ -1,10 +1,7 @@ #!/bin/bash echo From git `echo $GITHUB_SHA | sed 's/\(.......\).*$/\1/'` > internal/version.txt -./qb64_bootstrap -x source/qb64.bas > /tmp/qb64-output +./qb64_bootstrap -x -v source/qb64.bas +SUCCESS=$? rm qb64_bootstrap -if [ `grep -v '^WARNING' /tmp/qb64-output | wc -l` -gt 2 ]; then - cat /tmp/qb64-output - rm /tmp/qb64-output - exit 1 -fi +exit $SUCCESS