mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-20 13:55:14 +00:00
Allow for WARNING output in build script
This commit is contained in:
parent
018e711820
commit
8994fda1a2
|
@ -41,7 +41,7 @@ echo "Translating .bas source..."
|
||||||
echo From git `echo $TRAVIS_COMMIT | sed 's/\(.......\).*$/\1/'` > internal/version.txt
|
echo From git `echo $TRAVIS_COMMIT | sed 's/\(.......\).*$/\1/'` > internal/version.txt
|
||||||
./qb64_bootstrap -x -z source/qb64.bas > /tmp/qb64-output
|
./qb64_bootstrap -x -z source/qb64.bas > /tmp/qb64-output
|
||||||
rm qb64_bootstrap
|
rm qb64_bootstrap
|
||||||
if [ `wc -l /tmp/qb64-output |awk '{print $1}'` -gt 2 ]; then
|
if [ `grep -v '^WARNING' /tmp/qb64-output | wc -l` -gt 2 ]; then
|
||||||
cat /tmp/qb64-output
|
cat /tmp/qb64-output
|
||||||
rm /tmp/qb64-output
|
rm /tmp/qb64-output
|
||||||
exit 1
|
exit 1
|
||||||
|
|
|
@ -41,7 +41,7 @@ echo -n "Translating .bas source..."
|
||||||
echo From git `echo $TRAVIS_COMMIT | sed 's/\(.......\).*$/\1/'` > internal/version.txt
|
echo From git `echo $TRAVIS_COMMIT | sed 's/\(.......\).*$/\1/'` > internal/version.txt
|
||||||
./qb64_bootstrap -x -z source/qb64.bas > /tmp/qb64-output
|
./qb64_bootstrap -x -z source/qb64.bas > /tmp/qb64-output
|
||||||
rm qb64_bootstrap
|
rm qb64_bootstrap
|
||||||
if [ `wc -l /tmp/qb64-output |awk '{print $1}'` -gt 2 ]; then
|
if [ `grep -v '^WARNING' /tmp/qb64-output | wc -l` -gt 2 ]; then
|
||||||
cat /tmp/qb64-output
|
cat /tmp/qb64-output
|
||||||
rm /tmp/qb64-output
|
rm /tmp/qb64-output
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -72,4 +72,3 @@ find . -type f -iname "*.a" -exec rm {} \;
|
||||||
find . -type f -iname "*.o" -exec rm {} \;
|
find . -type f -iname "*.o" -exec rm {} \;
|
||||||
cd internal/source
|
cd internal/source
|
||||||
rm debug_* recompile_*
|
rm debug_* recompile_*
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue