1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-03 13:31:23 +00:00
QB64-PE/.ci/compile.sh
2021-01-14 21:39:28 -03:00

13 lines
378 B
Bash
Executable file

#!/bin/bash
echo From git `echo $GITHUB_SHA | sed 's/\(.......\).*$/\1/'` > internal/version.txt
./qb64_bootstrap -x -w source/qb64.bas
SUCCESS=$?
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 {} \;
exit $SUCCESS