Added commonly used operations in tasks.json
Following are the added tasks 1. Build library 2. Run samples
This commit is contained in:
Родитель
9e860ef52f
Коммит
d29015adca
|
@ -7,7 +7,6 @@ obj/
|
|||
.packages/
|
||||
.tools/
|
||||
.vs/
|
||||
.vscode/
|
||||
node_modules/
|
||||
BenchmarkDotNet.Artifacts/
|
||||
.gradle/
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"version": "2.0.0",
|
||||
"inputs": [
|
||||
{
|
||||
"type": "pickString",
|
||||
"default": "./examples/FluentUI.Demo.Client",
|
||||
"options": [
|
||||
"FluentUI.Demo.Server",
|
||||
"FluentUI.Demo.Client"
|
||||
],
|
||||
"id": "projectSelection",
|
||||
"description": "Select project",
|
||||
}
|
||||
],
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build library",
|
||||
"type": "shell",
|
||||
"command": "dotnet build",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run samples",
|
||||
"type": "shell",
|
||||
"command": "dotnet run --project ${workspaceFolder}/examples/${input:projectSelection}/${input:projectSelection}.csproj",
|
||||
"group": "build",
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new"
|
||||
}
|
||||
},
|
||||
]
|
||||
}
|
Загрузка…
Ссылка в новой задаче