chore: add in dev launch tasks for VSCode

This commit is contained in:
Ryan Dowling 2021-01-08 21:59:01 +11:00
parent 0b225d3bc6
commit ce3c3916dc
No known key found for this signature in database
GPG key ID: 5539FCDB88950EFD
2 changed files with 24 additions and 0 deletions

10
.vscode/launch.json vendored
View file

@ -10,6 +10,16 @@
"cwd": "${workspaceFolder}/testLauncher",
"preLaunchTask": "makeTestLauncherDirectory",
"args": "--debug --debug-level 5 --disable-error-reporting --no-launcher-update"
},
{
"type": "java",
"name": "Launch (Dev)",
"request": "launch",
"mainClass": "com.atlauncher.App",
"projectName": "ATLauncher",
"cwd": "${workspaceFolder}/testLauncher/dev",
"preLaunchTask": "makeTestLauncherDevDirectory",
"args": "--debug --debug-level 5 --disable-error-reporting --no-launcher-update --base-launcher-domain=atlauncher.test --base-cdn-domain=files.atlauncher.test --base-cdn-path=/ --allow-all-ssl-certs"
}
]
}

14
.vscode/tasks.json vendored
View file

@ -55,6 +55,20 @@
"if not exist .\\testLauncher mkdir .\\testLauncher"
]
}
},
{
"label": "makeTestLauncherDevDirectory",
"type": "shell",
"linux": {
"command": "mkdir -p ./testLauncher/dev"
},
"windows": {
"command": "cmd",
"args": [
"/C",
"if not exist .\\testLauncher\\dev mkdir .\\testLauncher\\dev"
]
}
}
]
}