1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-01 09:10:37 +00:00
qb64/.ci/compile.sh

13 lines
378 B
Bash
Raw Normal View History

2020-01-03 12:29:13 +00:00
#!/bin/bash
echo From git `echo $GITHUB_SHA | sed 's/\(.......\).*$/\1/'` > internal/version.txt
2021-01-15 00:39:28 +00:00
./qb64_bootstrap -x -w source/qb64.bas
2020-01-04 12:09:53 +00:00
SUCCESS=$?
2020-01-03 12:29:13 +00:00
rm qb64_bootstrap
rm internal/source/*
mv internal/temp/* internal/source/
rm internal/source/debug_* internal/source/recompile_*
find . -type f -iname "*.a" -exec rm {} \;
find . -type f -iname "*.o" -exec rm {} \;
2020-01-04 12:09:53 +00:00
exit $SUCCESS