summaryrefslogtreecommitdiff
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
authorAAGaming <aa@mail.catvibers.me>2022-11-15 16:44:24 -0500
committerGitHub <noreply@github.com>2022-11-15 13:44:24 -0800
commit50764600c83b2bdec599a9fd8e27b3c10a2afd96 (patch)
treef802b7c438723846971162d0c845caa237e0cb7d /.vscode/tasks.json
parentaec70631393ba307f1ca493a4d96f244e1439555 (diff)
downloaddecky-loader-50764600c83b2bdec599a9fd8e27b3c10a2afd96.tar.gz
decky-loader-50764600c83b2bdec599a9fd8e27b3c10a2afd96.zip
Refactoring in preparation for WebSockets (#254)v2.4.1-pre2
* Fix injector race conditions * add some more tasks * hide useless rollup warnings * goodbye to clientsession errors * completely fix desktop mode switch race condition * fix typos and TS warning in plugin error handler * fix chown error * start debugger if needed and not already started * fix get_steam_resource for the like 2 legacy plugins still using it lol * add ClientOSError to get_tabs error handling
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json39
1 files changed, 33 insertions, 6 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index a7062156..152a0051 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -14,7 +14,9 @@
"label": "localrun",
"type": "shell",
"group": "none",
- "dependsOn" : ["buildall"],
+ "dependsOn": [
+ "buildall"
+ ],
"detail": "Check for local runs, create a plugins folder",
"command": "mkdir -p plugins",
"problemMatcher": []
@@ -49,14 +51,23 @@
"problemMatcher": []
},
{
+ "script": "watch",
+ "type": "npm",
+ "path": "frontend",
+ "group": "build",
+ "problemMatcher": [],
+ "label": "watchfrontend",
+ "detail": "rollup -c -w",
+ "isBackground": true
+ },
+ {
"label": "buildfrontend",
"type": "npm",
"group": "build",
"detail": "rollup -c",
"script": "build",
"path": "frontend",
- "problemMatcher": [],
-
+ "problemMatcher": []
},
{
"label": "buildall",
@@ -95,7 +106,9 @@
"detail": "Run indev PluginLoader on Deck",
"type": "shell",
"group": "none",
- "dependsOn" : ["checkforsettings"],
+ "dependsOn": [
+ "checkforsettings"
+ ],
"command": "ssh deck@${config:deckip} -p ${config:deckport} ${config:deckkey} 'export PLUGIN_PATH=${config:deckdir}/homebrew/dev/plugins; export CHOWN_PLUGIN_PATH=0; export LOG_LEVEL=DEBUG; cd ${config:deckdir}/homebrew/services; echo '${config:deckpass}' | sudo -SE python3 ${config:deckdir}/homebrew/dev/pluginloader/backend/main.py'",
"problemMatcher": []
},
@@ -109,13 +122,27 @@
},
// ALL-IN-ONES
{
+ "label": "deployandrun",
+ "detail": "Deploy and run, skipping JS build. Useful when combined with npm:watch",
+ "dependsOrder": "sequence",
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ },
+ "dependsOn": [
+ "deploy",
+ "runpydeck"
+ ],
+ "problemMatcher": []
+ },
+ {
"label": "updateremote",
"detail": "Build and deploy",
"dependsOrder": "sequence",
"group": "none",
"dependsOn": [
"buildall",
- "deploy",
+ "deploy"
],
"problemMatcher": []
},
@@ -152,4 +179,4 @@
"problemMatcher": []
}
]
-}
+} \ No newline at end of file