mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +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
|
rm -rf $gampath
|
||||||
mkdir -p $gampath
|
mkdir -p $gampath
|
||||||
export gampath=$(readlink -e $gampath)
|
export gampath=$(readlink -e $gampath)
|
||||||
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $gampath gam.spec
|
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
|
||||||
export gam="${gampath}/gam/gam"
|
export gam="${gampath}/gam"
|
||||||
export GAMVERSION=`$gam version simple`
|
export GAMVERSION=`$gam version simple`
|
||||||
cp LICENSE $gampath
|
cp LICENSE $gampath
|
||||||
cp GamCommands.txt $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())"
|
python -c "import platform; print(platform.mac_ver())"
|
||||||
echo "Xcode versionn:"
|
echo "Xcode versionn:"
|
||||||
xcodebuild -version
|
xcodebuild -version
|
||||||
export gampath=dist
|
export distpath="dist/"
|
||||||
|
export gampath="${distpath}/gam"
|
||||||
rm -rf $gampath
|
rm -rf $gampath
|
||||||
export specfile="gam.spec"
|
export specfile="gam.spec"
|
||||||
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath "${gampath}" "${specfile}"
|
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath "${distpath}" "${specfile}"
|
||||||
export gam="${gampath}/gam/gam"
|
export gam="${gampath}/gam"
|
||||||
$gam version extended
|
$gam version extended
|
||||||
export GAMVERSION=`$gam version simple`
|
export GAMVERSION=`$gam version simple`
|
||||||
cp LICENSE "${gampath}"
|
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"
|
export WIX_BITS="x86"
|
||||||
fi
|
fi
|
||||||
echo "compiling GAM with pyinstaller..."
|
echo "compiling GAM with pyinstaller..."
|
||||||
export gampath="dist"
|
export distpath="dist/"
|
||||||
|
export gampath="${distpath}/gam"
|
||||||
rm -rf $gampath
|
rm -rf $gampath
|
||||||
mkdir -p $gampath
|
mkdir -p $gampath
|
||||||
export gampath=$(readlink -e $gampath)
|
export gampath=$(readlink -e $gampath)
|
||||||
pyinstaller --clean --noupx -F --distpath $gampath gam.spec
|
pyinstaller --clean --noupx -F --distpath $distpath gam.spec
|
||||||
export gam="${gampath}/gam/gam"
|
export gam="${gampath}/gam"
|
||||||
echo "running compiled GAM..."
|
echo "running compiled GAM..."
|
||||||
$gam version
|
$gam version
|
||||||
export GAMVERSION=$($gam version simple)
|
export GAMVERSION=$($gam version simple)
|
||||||
|
|||||||
Reference in New Issue
Block a user