2020-01-03 12:29:13 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-06-08 02:37:30 +00:00
|
|
|
os=$1
|
|
|
|
|
2022-08-11 21:04:07 +00:00
|
|
|
./qb64pe_bootstrap -x -w source/qb64pe.bas
|
2020-01-04 12:09:53 +00:00
|
|
|
SUCCESS=$?
|
2022-04-27 22:55:16 +00:00
|
|
|
|
2022-08-11 21:04:07 +00:00
|
|
|
rm qb64pe_bootstrap
|
2020-07-13 10:51:11 +00:00
|
|
|
rm internal/source/*
|
2022-04-27 22:55:16 +00:00
|
|
|
rm internal/temp/debug_* internal/temp/recompile_*
|
2022-08-11 20:53:01 +00:00
|
|
|
rm internal/temp/qb64pe.sym
|
|
|
|
rm internal/temp/qb64pe_bootstrap.sym
|
2022-04-27 22:55:16 +00:00
|
|
|
|
2020-07-13 10:51:11 +00:00
|
|
|
mv internal/temp/* internal/source/
|
2022-04-27 22:55:16 +00:00
|
|
|
|
2022-06-08 04:23:13 +00:00
|
|
|
|
|
|
|
# Build libqb test executables
|
|
|
|
make -j8 OS=$os build-tests
|
|
|
|
|
2022-06-08 02:37:30 +00:00
|
|
|
make clean OS=$os
|
2022-04-27 22:55:16 +00:00
|
|
|
|
2020-01-04 12:09:53 +00:00
|
|
|
exit $SUCCESS
|