Renamed and reconfigured build tasks
This commit is contained in:
parent
b186aea266
commit
d2066e44cb
14
.vscode/tasks/linux/build.sh
vendored
14
.vscode/tasks/linux/build.sh
vendored
@ -1,6 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
rm -rf dist/linux/app
|
rm -rf dist/linux/StardewSync
|
||||||
|
|
||||||
source buildenv/bin/activate
|
source buildenv/bin/activate && pyi-makespec main.py \
|
||||||
pyinstaller app.spec --noconfirm
|
-n "StardewSync" \
|
||||||
|
-p "buildenv" \
|
||||||
|
-i "assets/favicon.ico" \
|
||||||
|
--add-data "config.json:."
|
||||||
|
--add-data "assets:assets" \
|
||||||
|
--add-data "buildenv/Lib/site-packages/sv_ttk/sv.tcl:sv_ttk/" \
|
||||||
|
--add-data "buildenv/Lib/site-packages/sv_ttk/theme/*:sv_ttk/theme/" \
|
||||||
|
--noconsole \
|
||||||
|
&& pyinstaller "StardewSync.spec" --noconfirm
|
4
.vscode/tasks/linux/cleanup_everything.sh
vendored
4
.vscode/tasks/linux/cleanup_everything.sh
vendored
@ -6,8 +6,8 @@ python3 -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pyca
|
|||||||
rm -rf build/linux/*
|
rm -rf build/linux/*
|
||||||
rm -rf build/windows/*
|
rm -rf build/windows/*
|
||||||
|
|
||||||
rm -rf dist/linux/app
|
rm -rf "dist/linux/StardewSync"
|
||||||
rm -rf dist/windows/app
|
rm -rf "dist/windows/StardewSync"
|
||||||
|
|
||||||
rm -rf venv
|
rm -rf venv
|
||||||
rm -rf buildenv
|
rm -rf buildenv
|
6
.vscode/tasks/linux/test.sh
vendored
6
.vscode/tasks/linux/test.sh
vendored
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cd dist/linux/app
|
cd "dist/linux/StardewSync"
|
||||||
|
|
||||||
chmod +x StardewSync
|
chmod +x "StardewSync"
|
||||||
|
|
||||||
./StardewSync
|
"./StardewSync"
|
4
.vscode/tasks/windows/build.bat
vendored
4
.vscode/tasks/windows/build.bat
vendored
@ -1,3 +1,3 @@
|
|||||||
rmdir /S /Q dist\windows\app
|
rmdir /S /Q "dist\windows\StardewSync"
|
||||||
|
|
||||||
.\buildenv\scripts\activate && pyinstaller dist\windows\app.spec --noconfirm --distpath=dist\windows --workpath=build\windows
|
.\buildenv\scripts\activate && pyi-makespec main.py -n "StardewSync" -p "buildenv" -i "assets/favicon.ico" --add-data "config.json;." --add-data "assets;assets" --add-data "buildenv/Lib/site-packages/sv_ttk/sv.tcl;sv_ttk/" --add-data "buildenv/Lib/site-packages/sv_ttk/theme/*;sv_ttk/theme/" --noconsole && pyinstaller ".\StardewSync.spec" --noconfirm --distpath=dist\windows --workpath=build\windows
|
4
.vscode/tasks/windows/cleanup_everything.bat
vendored
4
.vscode/tasks/windows/cleanup_everything.bat
vendored
@ -4,8 +4,8 @@ python -Bc "import pathlib; [p.rmdir() for p in pathlib.Path('.').rglob('__pycac
|
|||||||
rmdir /S /Q build\linux\*
|
rmdir /S /Q build\linux\*
|
||||||
rmdir /S /Q build\windows\*
|
rmdir /S /Q build\windows\*
|
||||||
|
|
||||||
rmdir /S /Q dist\linux\app
|
rmdir /S /Q "dist\linux\StardewSync"
|
||||||
rmdir /S /Q dist\windows\app
|
rmdir /S /Q "dist\windows\StardewSync"
|
||||||
|
|
||||||
rmdir /S /Q venv
|
rmdir /S /Q venv
|
||||||
rmdir /S /Q buildenv
|
rmdir /S /Q buildenv
|
4
.vscode/tasks/windows/test.bat
vendored
4
.vscode/tasks/windows/test.bat
vendored
@ -1,2 +1,2 @@
|
|||||||
cd dist\windows\app
|
cd "dist\windows\StardewSync"
|
||||||
.\StardewSync.exe
|
".\StardewSync.exe"
|
Loading…
Reference in New Issue
Block a user