mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-16 20:21:37 +00:00
fix distpath
This commit is contained in:
7
.github/actions/linux-install.sh
vendored
7
.github/actions/linux-install.sh
vendored
@@ -1,9 +1,10 @@
|
||||
export gampath="dist"
|
||||
export distpath="dist/"
|
||||
export gampath="${distpath}/gam"
|
||||
rm -rf $gampath
|
||||
mkdir -p $gampath
|
||||
export gampath=$(readlink -e $gampath)
|
||||
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $gampath gam.spec
|
||||
export gam="${gampath}/gam/gam"
|
||||
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
|
||||
export gam="${gampath}/gam"
|
||||
export GAMVERSION=`$gam version simple`
|
||||
cp LICENSE $gampath
|
||||
cp GamCommands.txt $gampath
|
||||
|
||||
7
.github/actions/macos-install.sh
vendored
7
.github/actions/macos-install.sh
vendored
@@ -2,11 +2,12 @@ echo "MacOS Version Info According to Python:"
|
||||
python -c "import platform; print(platform.mac_ver())"
|
||||
echo "Xcode versionn:"
|
||||
xcodebuild -version
|
||||
export gampath=dist
|
||||
export distpath="dist/"
|
||||
export gampath="${distpath}/gam"
|
||||
rm -rf $gampath
|
||||
export specfile="gam.spec"
|
||||
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath "${gampath}" "${specfile}"
|
||||
export gam="${gampath}/gam/gam"
|
||||
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath "${distpath}" "${specfile}"
|
||||
export gam="${gampath}/gam"
|
||||
$gam version extended
|
||||
export GAMVERSION=`$gam version simple`
|
||||
cp LICENSE "${gampath}"
|
||||
|
||||
7
.github/actions/windows-install.sh
vendored
7
.github/actions/windows-install.sh
vendored
@@ -4,12 +4,13 @@ elif [[ "$PLATFORM" == "x86" ]]; then
|
||||
export WIX_BITS="x86"
|
||||
fi
|
||||
echo "compiling GAM with pyinstaller..."
|
||||
export gampath="dist"
|
||||
export distpath="dist/"
|
||||
export gampath="${distpath}/gam"
|
||||
rm -rf $gampath
|
||||
mkdir -p $gampath
|
||||
export gampath=$(readlink -e $gampath)
|
||||
pyinstaller --clean --noupx -F --distpath $gampath gam.spec
|
||||
export gam="${gampath}/gam/gam"
|
||||
pyinstaller --clean --noupx -F --distpath $distpath gam.spec
|
||||
export gam="${gampath}/gam"
|
||||
echo "running compiled GAM..."
|
||||
$gam version
|
||||
export GAMVERSION=$($gam version simple)
|
||||
|
||||
Reference in New Issue
Block a user