From 93b05de15e8b0cbf1e29d2c771df5a15db9874b4 Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Sat, 12 Nov 2016 10:07:19 -0800 Subject: [PATCH] Update build scripts (#326) --- src/linux-build.sh | 3 ++- src/macos-build.sh | 7 ++++--- src/windows-build.bat | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/linux-build.sh b/src/linux-build.sh index 738ef2fb..6e2c8d7c 100755 --- a/src/linux-build.sh +++ b/src/linux-build.sh @@ -1,11 +1,12 @@ rm -rf gam rm -rf build -rm -rf dist +rm -rf dist rm -rf gam-$1-linux-$(arch).tar.xz export LD_LIBRARY_PATH=/usr/local/lib pyinstaller --clean -F --distpath=gam linux-gam.spec cp LICENSE gam cp whatsnew.txt gam +cp GamCommands.txt gam tar cfJ gam-$1-linux-$(arch).tar.xz gam/ diff --git a/src/macos-build.sh b/src/macos-build.sh index f575a0fe..a803950f 100755 --- a/src/macos-build.sh +++ b/src/macos-build.sh @@ -1,10 +1,11 @@ -rmdir /q /s gam -rmdir /q /s build -rmdir /q /s dist +rm -rf gam +rm -rf build +rm -rf dist rm -rf gam-$1-macos.tar.xz /Library/Frameworks/Python.framework/Versions/2.7/bin/pyinstaller --clean -F --distpath=gam macos-gam.spec cp LICENSE gam cp whatsnew.txt gam +cp GamCommands.txt gam tar cfJ gam-$1-macos.tar.xz gam/ diff --git a/src/windows-build.bat b/src/windows-build.bat index 1971485c..30672095 100644 --- a/src/windows-build.bat +++ b/src/windows-build.bat @@ -12,7 +12,7 @@ c:\python27-32\scripts\pyinstaller --clean -F --distpath=gam windows-gam.spec xcopy LICENSE gam\ xcopy whatsnew.txt gam\ xcopy gam-setup.bat gam\ -xcopy gamcommands.txt gam\ +xcopy GamCommands.txt gam\ del gam\w9xpopen.exe "%ProgramFiles%\7-Zip\7z.exe" a -tzip gam-%1-windows.zip gam\ -xr!.svn @@ -20,7 +20,7 @@ c:\python27-64\scripts\pyinstaller --clean -F --distpath=gam-64 windows-gam.spec xcopy LICENSE gam-64\ xcopy whatsnew.txt gam-64\ xcopy gam-setup.bat gam-64\ -xcopy gamcommands.txt gam-64\ +xcopy GamCommands.txt gam-64\ "%ProgramFiles%\7-Zip\7z.exe" a -tzip gam-%1-windows-x64.zip gam-64\ -xr!.svn set GAMVERSION=%1