Changed run tasks behavior
This commit is contained in:
40
.vscode/tasks.json
vendored
40
.vscode/tasks.json
vendored
@@ -29,8 +29,8 @@
|
||||
"dependsOn": ["Clean up"]
|
||||
},
|
||||
{
|
||||
"label": "Run (Python)",
|
||||
"detail": "Copy source code from 'src' dir into 'testpython' and start main.py within venv",
|
||||
"label": "Run (Python) [Dirty]",
|
||||
"detail": "Remove all cache files and start main.py within venv",
|
||||
"type": "shell",
|
||||
"windows": {
|
||||
"command": "./.vscode/tasks/windows/run_python.bat"
|
||||
@@ -43,10 +43,27 @@
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": [],
|
||||
"dependsOn": ["Clean up"]
|
||||
},
|
||||
{
|
||||
"label": "Run (Python) [Clean]",
|
||||
"detail": "Needs to be ran before the dirty version can be used. Copy source code from 'src' dir into 'testpython', install requirements and start main.py within venv",
|
||||
"type": "shell",
|
||||
"windows": {
|
||||
"command": "./.vscode/tasks/windows/flush_and_run_python.bat"
|
||||
},
|
||||
"linux": {
|
||||
"command": "bash ./.vscode/tasks/linux/flush_and_run_python.sh"
|
||||
},
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": [],
|
||||
"dependsOn": ["Clean up", "Install requirements"]
|
||||
},
|
||||
{
|
||||
"label": "Run (Binary)",
|
||||
"label": "Run (Binary) [Dirty]",
|
||||
"detail": "Copy compiled binaries from 'dest/%os%' dir into 'testbinary/%os%' and start it",
|
||||
"type": "shell",
|
||||
"windows": {
|
||||
@@ -62,6 +79,23 @@
|
||||
"problemMatcher": [],
|
||||
"dependsOn": ["Build"]
|
||||
},
|
||||
{
|
||||
"label": "Run (Binary) [Clean]",
|
||||
"detail": "Needs to be ran before the dirty version can be used. Copy compiled binaries from 'dest/%os%' dir into 'testbinary/%os%' and start it",
|
||||
"type": "shell",
|
||||
"windows": {
|
||||
"command": "./.vscode/tasks/windows/flush_and_run_binary.bat"
|
||||
},
|
||||
"linux": {
|
||||
"command": "bash ./.vscode/tasks/linux/flush_and_run_binary.sh"
|
||||
},
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": false
|
||||
},
|
||||
"problemMatcher": [],
|
||||
"dependsOn": ["Build"]
|
||||
},
|
||||
{
|
||||
"label": "Configure Setup",
|
||||
"detail": "Configure IF setup file on Windows and .deb package on Linux",
|
||||
|
||||
Reference in New Issue
Block a user