diff --git a/.gitignore b/.gitignore index 3cf90215..5d17da93 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ build buildDate nbproject PolyGlotLinA.iml +PolyGlot.app readme.zip target assets/assets/org/DarisaDesigns/exlex.zip diff --git a/build_image.py b/build_image.py index eef7052a..cd9b0c35 100755 --- a/build_image.py +++ b/build_image.py @@ -542,6 +542,8 @@ def injectDocs(): # Copies installer file to final destination and removes error indicator file def copyInstaller(source): + global copyDestination + if path.exists(source): if osString == winString: insFile = WIN_INS_NAME diff --git a/full_build.sh b/full_build.sh index eb43d407..6ac219ce 100755 --- a/full_build.sh +++ b/full_build.sh @@ -161,14 +161,26 @@ echo "Total time spent: "$DIFF" seconds" LINECOUNT=$(git ls-files | grep ".java" | xargs wc -l | grep -o '[0-9]\+ total') echo "Java lines built: $LINECOUNT" +if [ "$1" == "$CONST_RELEASE" ]; then + echo -e "\x1B[34m---- RELEASE BUILD ----\x1B[0m" +else + echo -e "\x1B[96m---- BETA BUILD ----\x1B[0m" +fi + # Announce any build failures... if [ -f "/Users/draque/Google Drive/Permanent_Share/PolyGlotBetas/Windows_BUILD_FAILED" ] && [ $WIN_BUILD_TIME != 0 ]; then echo -e "\x1B[41mWindows build failed.\x1B[0m" +else + echo -e "\x1B[32mWindows build success.\x1B[0m" fi if [ -f "/Users/draque/Google Drive/Permanent_Share/PolyGlotBetas/Linux_BUILD_FAILED" ] && [ $LIN_BUILD_TIME != 0 ]; then echo -e "\x1B[41mLinux build failed.\x1B[0m" +else + echo -e "\x1B[32mLinux build success.\x1B[0m" fi if [ -f "/Users/draque/Google Drive/Permanent_Share/PolyGlotBetas/Darwin_BUILD_FAILED" ] && [ $OSX_BUILD_TIME != 0 ]; then echo -e "\x1B[41mOSX build failed.\x1B[0m" +else + echo -e "\x1B[32mOSX build success.\x1B[0m" fi echo "Full build process complete!" \ No newline at end of file