Minor change in how the commands are executed.

This commit is contained in:
Harrison Deng 2020-04-22 17:50:36 -05:00
parent c8715e3dbb
commit fd41eff3a0

10
.vscode/tasks.json vendored
View File

@ -25,16 +25,19 @@
"dependsOn": ["package"], "dependsOn": ["package"],
"label": "update test server", "label": "update test server",
"type": "shell", "type": "shell",
"args": ["-ExecutionPolicy", "Bypass", "-File", "./load-latest-build.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"}, "options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell -ExecutionPolicy Bypass -File ./load-latest-build.ps1", "command": "powershell",
"problemMatcher": [] "problemMatcher": []
}, },
{ {
"dependsOn": ["update test server"], "dependsOn": ["update test server"],
"label": "start test server", "label": "start test server",
"type": "shell", "type": "shell",
"runOptions": {"instanceLimit": 1},
"args": ["-ExecutionPolicy", "Bypass", "-File", "./start-debug-server-process.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"}, "options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell -ExecutionPolicy Bypass -File ./start-debug-server-process.ps1", "command": "powershell",
"problemMatcher": [], "problemMatcher": [],
"group": "test", "group": "test",
"presentation": { "presentation": {
@ -49,8 +52,9 @@
{ {
"label": "stop test server", "label": "stop test server",
"type": "shell", "type": "shell",
"args": ["-ExecutionPolicy", "Bypass", "-File", "./end-debug-server-process.ps1"],
"options": {"cwd": "${workspaceFolder}/test-server/"}, "options": {"cwd": "${workspaceFolder}/test-server/"},
"command": "powershell -ExecutionPolicy Bypass -File ./end-debug-server-process.ps1", "command": "powershell",
"problemMatcher": [], "problemMatcher": [],
"group": "test", "group": "test",
} }