From 9e0a354d9139e206fea68c0305803f58dcc40784 Mon Sep 17 00:00:00 2001 From: Luke Ceddia Date: Mon, 13 Jul 2020 20:51:11 +1000 Subject: [PATCH] Package internal/source for macOS, exclude for windows --- .ci/compile.bat | 2 +- .ci/compile.sh | 5 +++++ .ci/update-source.sh | 8 -------- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.ci/compile.bat b/.ci/compile.bat index 5adc235c6..f1bea773a 100644 --- a/.ci/compile.bat +++ b/.ci/compile.bat @@ -11,7 +11,7 @@ cd ..\.. del qb64_bootstrap.exe del /q /s secure-file del /q /s internal\source\* -move internal\temp\* internal\source\ +del /q /s internal\temp\* del /q /s internal\c\libqb\*.o >nul 2>nul del /q /s internal\c\libqb\*.a >nul 2>nul del /q /s internal\c\parts\*.o >nul 2>nul diff --git a/.ci/compile.sh b/.ci/compile.sh index 68a0f96cf..4bc55ce9a 100755 --- a/.ci/compile.sh +++ b/.ci/compile.sh @@ -4,4 +4,9 @@ echo From git `echo $GITHUB_SHA | sed 's/\(.......\).*$/\1/'` > internal/version ./qb64_bootstrap -x -v 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 diff --git a/.ci/update-source.sh b/.ci/update-source.sh index d6d23d068..7b7c10f68 100755 --- a/.ci/update-source.sh +++ b/.ci/update-source.sh @@ -1,13 +1,5 @@ #!/bin/bash -rm internal/source/* -mv internal/temp/* internal/source/ -find . -type f -iname "*.a" -exec rm {} \; -find . -type f -iname "*.o" -exec rm {} \; -cd internal/source -rm debug_* recompile_* -cd ../.. - git config --local user.email "flukiluke@gmail.com" git config --local user.name "Autobuild Process" git add internal/source