mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 06:03:35 +00:00
Update build scripts (#326)
This commit is contained in:
@ -1,11 +1,12 @@
|
|||||||
rm -rf gam
|
rm -rf gam
|
||||||
rm -rf build
|
rm -rf build
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
rm -rf gam-$1-linux-$(arch).tar.xz
|
rm -rf gam-$1-linux-$(arch).tar.xz
|
||||||
|
|
||||||
export LD_LIBRARY_PATH=/usr/local/lib
|
export LD_LIBRARY_PATH=/usr/local/lib
|
||||||
pyinstaller --clean -F --distpath=gam linux-gam.spec
|
pyinstaller --clean -F --distpath=gam linux-gam.spec
|
||||||
cp LICENSE gam
|
cp LICENSE gam
|
||||||
cp whatsnew.txt gam
|
cp whatsnew.txt gam
|
||||||
|
cp GamCommands.txt gam
|
||||||
|
|
||||||
tar cfJ gam-$1-linux-$(arch).tar.xz gam/
|
tar cfJ gam-$1-linux-$(arch).tar.xz gam/
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||
rmdir /q /s gam
|
rm -rf gam
|
||||||
rmdir /q /s build
|
rm -rf build
|
||||||
rmdir /q /s dist
|
rm -rf dist
|
||||||
rm -rf gam-$1-macos.tar.xz
|
rm -rf gam-$1-macos.tar.xz
|
||||||
|
|
||||||
/Library/Frameworks/Python.framework/Versions/2.7/bin/pyinstaller --clean -F --distpath=gam macos-gam.spec
|
/Library/Frameworks/Python.framework/Versions/2.7/bin/pyinstaller --clean -F --distpath=gam macos-gam.spec
|
||||||
cp LICENSE gam
|
cp LICENSE gam
|
||||||
cp whatsnew.txt gam
|
cp whatsnew.txt gam
|
||||||
|
cp GamCommands.txt gam
|
||||||
|
|
||||||
tar cfJ gam-$1-macos.tar.xz gam/
|
tar cfJ gam-$1-macos.tar.xz gam/
|
||||||
|
@ -12,7 +12,7 @@ c:\python27-32\scripts\pyinstaller --clean -F --distpath=gam windows-gam.spec
|
|||||||
xcopy LICENSE gam\
|
xcopy LICENSE gam\
|
||||||
xcopy whatsnew.txt gam\
|
xcopy whatsnew.txt gam\
|
||||||
xcopy gam-setup.bat gam\
|
xcopy gam-setup.bat gam\
|
||||||
xcopy gamcommands.txt gam\
|
xcopy GamCommands.txt gam\
|
||||||
del gam\w9xpopen.exe
|
del gam\w9xpopen.exe
|
||||||
"%ProgramFiles%\7-Zip\7z.exe" a -tzip gam-%1-windows.zip gam\ -xr!.svn
|
"%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 LICENSE gam-64\
|
||||||
xcopy whatsnew.txt gam-64\
|
xcopy whatsnew.txt gam-64\
|
||||||
xcopy gam-setup.bat 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
|
"%ProgramFiles%\7-Zip\7z.exe" a -tzip gam-%1-windows-x64.zip gam-64\ -xr!.svn
|
||||||
|
|
||||||
set GAMVERSION=%1
|
set GAMVERSION=%1
|
||||||
|
Reference in New Issue
Block a user