Updated vscode tasks
parent
0cf9f2de7a
commit
3edd4ec5a6
@ -1,25 +1,60 @@
|
|||||||
{
|
{
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
|
"windows": {
|
||||||
|
"options": {
|
||||||
|
"shell": {
|
||||||
|
"executable": "cmd.exe",
|
||||||
|
"args": [
|
||||||
|
"/d", "/c"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"type": "npm",
|
"type": "npm",
|
||||||
"script": "start",
|
"script": "start",
|
||||||
"problemMatcher": [],
|
"problemMatcher": [],
|
||||||
"label": "Dev: start frontend",
|
"label": "Dev: start frontend",
|
||||||
"detail": "ng serve"
|
"detail": "ng serve",
|
||||||
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
|
"reveal": "always",
|
||||||
|
"focus": true,
|
||||||
|
"panel": "shared",
|
||||||
|
"showReuseMessage": true,
|
||||||
|
"clear": false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"label": "Dev: start backend",
|
"label": "Dev: start backend",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "set YTDL_MODE=debug && node app.js",
|
"command": "node app.js",
|
||||||
"options": {
|
"options": {
|
||||||
"cwd": "./backend"
|
"cwd": "./backend",
|
||||||
|
"env": {
|
||||||
|
"YTDL_MODE": "debug"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"presentation": {
|
"presentation": {
|
||||||
|
"echo": true,
|
||||||
"reveal": "always",
|
"reveal": "always",
|
||||||
"panel": "new"
|
"focus": true,
|
||||||
|
"panel": "shared",
|
||||||
|
"showReuseMessage": true,
|
||||||
|
"clear": false
|
||||||
},
|
},
|
||||||
"problemMatcher": []
|
"problemMatcher": [],
|
||||||
|
"dependsOn": ["Dev: post-build"]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Dev: post-build",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "node src/postbuild.mjs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "Dev: run all",
|
||||||
|
"dependsOn": ["Dev: start backend", "Dev: start frontend"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue