1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-06-29 05:50:41 +00:00
qb64/.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