Add launch target for sample-resource-deployment (#17553)

This commit is contained in:
Charles Gagnon
2021-11-01 15:05:32 -07:00
committed by GitHub
parent 25711acde0
commit de3ae26873
2 changed files with 37 additions and 0 deletions

25
.vscode/launch.json vendored
View File

@@ -269,6 +269,31 @@
"presentation": { "presentation": {
"group": "4_web" "group": "4_web"
} }
},
{
"name": "Run Sample Resource Deployment Extension",
"type": "sqlopsExtensionHost",
"request": "launch",
"windows": {
"runtimeExecutable": "${workspaceFolder}/scripts/sql.bat"
},
"osx": {
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
},
"linux": {
"runtimeExecutable": "${workspaceFolder}/scripts/sql.sh"
},
"args": [
"--extensionDevelopmentPath=${workspaceRoot}/samples/sample-resource-deployment"
],
"outFiles": [
"${workspaceRoot}/samples/sample-resource-deployment/out/**/*.js"
],
"preLaunchTask": "Watch sample-resource-deployment",
"presentation": {
"group": "5_samples"
},
"timeout": 30000
} }
], ],
"compounds": [ "compounds": [

12
.vscode/tasks.json vendored
View File

@@ -231,6 +231,18 @@
"group": "build", "group": "build",
"label": "npm: tsec-compile-check", "label": "npm: tsec-compile-check",
"detail": "node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit" "detail": "node_modules/tsec/bin/tsec -p src/tsconfig.json --noEmit"
},
{
"type": "npm",
"script": "watch",
"label": "Watch sample-resource-deployment",
"path": "./samples/sample-resource-deployment/package.json",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": "build"
} }
] ]
} }