Updated tasks for new project tree

This commit is contained in:
Profitroll 2023-01-28 17:50:11 +01:00
parent 69f26cbb03
commit fb53eec810
8 changed files with 8 additions and 8 deletions

View File

@ -2,4 +2,4 @@
rm -rf dist/linux/StardewSync
source buildenv/bin/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/python3.9/site-packages/sv_ttk/sv.tcl:sv_ttk/" --add-data "buildenv/lib/python3.9/site-packages/sv_ttk/theme/*:sv_ttk/theme/" --noconsole && pyinstaller "StardewSync.spec" --noconfirm --distpath=dist/linux --workpath=build/linux
source buildenv/bin/activate && pyi-makespec ./src/main.py -n "StardewSync" -p "buildenv" -i "./src/assets/favicon.ico" --add-data "./src/config.json:." --add-data "./src/assets:assets" --add-data "buildenv/lib/python3.9/site-packages/sv_ttk/sv.tcl:sv_ttk/" --add-data "buildenv/lib/python3.9/site-packages/sv_ttk/theme/*:sv_ttk/theme/" --noconsole && pyinstaller "StardewSync.spec" --noconfirm --distpath=dist/linux --workpath=build/linux

View File

@ -4,4 +4,4 @@ pip3 install virtualenv
virtualenv buildenv
source buildenv/bin/activate && pip install --upgrade Pyinstaller && pip install --upgrade -r requirements.txt && deactivate
source buildenv/bin/activate && pip install --upgrade Pyinstaller && pip install --upgrade -r ./src/requirements.txt && deactivate

View File

@ -4,4 +4,4 @@ pip3 install virtualenv
virtualenv venv
source venv/bin/activate && pip install --upgrade -r requirements.txt && deactivate
source venv/bin/activate && pip install --upgrade -r ./src/requirements.txt && deactivate

View File

@ -1,3 +1,3 @@
#!/bin/bash
source venv/bin/activate && bash .vscode/tasks/linux/cleanup.sh && python main.py && deactivate
source venv/bin/activate && bash .vscode/tasks/linux/cleanup.sh && cd ./src && python ./main.py && deactivate

View File

@ -1,3 +1,3 @@
rmdir /S /Q "dist\windows\StardewSync"
.\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
.\buildenv\scripts\activate && pyi-makespec .\src\main.py -n "StardewSync" -p "buildenv" -i "src/assets/favicon.ico" --add-data "src/config.json;." --add-data "src/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

View File

@ -2,4 +2,4 @@ pip install virtualenv
virtualenv buildenv
buildenv\Scripts\activate && pip install --upgrade Pyinstaller && pip install --upgrade -r requirements.txt && deactivate
buildenv\Scripts\activate && pip install --upgrade Pyinstaller && pip install --upgrade -r .\src\requirements.txt && deactivate

View File

@ -2,4 +2,4 @@ pip install virtualenv
virtualenv venv
venv\Scripts\activate && pip install --upgrade -r requirements.txt && deactivate
venv\Scripts\activate && pip install --upgrade -r .\src\requirements.txt && deactivate

View File

@ -1 +1 @@
.\.vscode\tasks\windows\cleanup.bat && venv\Scripts\activate && python main.py && deactivate
.\.vscode\tasks\windows\cleanup.bat && venv\Scripts\activate && cd .\src && python .\main.py && deactivate