Updated tasks for new project tree
This commit is contained in:
parent
69f26cbb03
commit
fb53eec810
2
.vscode/tasks/linux/build.sh
vendored
2
.vscode/tasks/linux/build.sh
vendored
@ -2,4 +2,4 @@
|
|||||||
|
|
||||||
rm -rf dist/linux/StardewSync
|
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
|
@ -4,4 +4,4 @@ pip3 install virtualenv
|
|||||||
|
|
||||||
virtualenv buildenv
|
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
|
2
.vscode/tasks/linux/install_requirements.sh
vendored
2
.vscode/tasks/linux/install_requirements.sh
vendored
@ -4,4 +4,4 @@ pip3 install virtualenv
|
|||||||
|
|
||||||
virtualenv venv
|
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
|
2
.vscode/tasks/linux/run.sh
vendored
2
.vscode/tasks/linux/run.sh
vendored
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/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
|
2
.vscode/tasks/windows/build.bat
vendored
2
.vscode/tasks/windows/build.bat
vendored
@ -1,3 +1,3 @@
|
|||||||
rmdir /S /Q "dist\windows\StardewSync"
|
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
|
@ -2,4 +2,4 @@ pip install virtualenv
|
|||||||
|
|
||||||
virtualenv buildenv
|
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
|
@ -2,4 +2,4 @@ pip install virtualenv
|
|||||||
|
|
||||||
virtualenv venv
|
virtualenv venv
|
||||||
|
|
||||||
venv\Scripts\activate && pip install --upgrade -r requirements.txt && deactivate
|
venv\Scripts\activate && pip install --upgrade -r .\src\requirements.txt && deactivate
|
2
.vscode/tasks/windows/run.bat
vendored
2
.vscode/tasks/windows/run.bat
vendored
@ -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
|
Loading…
Reference in New Issue
Block a user