Skip to content

Commit

Permalink
build process updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Draque Thompson committed Jun 14, 2020
1 parent 6864ae4 commit 4b0290f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ build
buildDate
nbproject
PolyGlotLinA.iml
PolyGlot.app
readme.zip
target
assets/assets/org/DarisaDesigns/exlex.zip
Expand Down
2 changes: 2 additions & 0 deletions build_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 12 additions & 0 deletions full_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!"

0 comments on commit 4b0290f

Please sign in to comment.