mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 20:31:35 +00:00
standardize pyinstaller arguments
This commit is contained in:
2
.github/actions/linux-install.sh
vendored
2
.github/actions/linux-install.sh
vendored
@@ -4,7 +4,7 @@ rm -rf $gampath
|
|||||||
#mkdir -p $gampath
|
#mkdir -p $gampath
|
||||||
#export gampath=$(readlink -e $gampath)
|
#export gampath=$(readlink -e $gampath)
|
||||||
$pip install wheel
|
$pip install wheel
|
||||||
$python -OO -m PyInstaller --clean --noupx --strip -F --distpath $distpath gam.spec
|
$python -OO -m PyInstaller --clean --noupx --strip --distpath $distpath gam.spec
|
||||||
export gam="${gampath}/gam"
|
export gam="${gampath}/gam"
|
||||||
export GAMVERSION=`$gam version simple`
|
export GAMVERSION=`$gam version simple`
|
||||||
cp LICENSE $gampath
|
cp LICENSE $gampath
|
||||||
|
|||||||
2
.github/actions/macos-install.sh
vendored
2
.github/actions/macos-install.sh
vendored
@@ -6,7 +6,7 @@ export distpath="dist/"
|
|||||||
export gampath="${distpath}/gam"
|
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 "${distpath}" "${specfile}"
|
$python -OO -m PyInstaller --clean --noupx --strip --distpath "${distpath}" "${specfile}"
|
||||||
export gam="${gampath}/gam"
|
export gam="${gampath}/gam"
|
||||||
$gam version extended
|
$gam version extended
|
||||||
export GAMVERSION=`$gam version simple`
|
export GAMVERSION=`$gam version simple`
|
||||||
|
|||||||
Reference in New Issue
Block a user