64 lines
1.4 KiB
JSON
64 lines
1.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "clean",
|
|
"command": "dotnet clean",
|
|
"type": "shell",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet build",
|
|
"type": "shell",
|
|
"dependsOn": "clean",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "clean release",
|
|
"command": "dotnet clean --configuration Release",
|
|
"type": "shell",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"identifier": "publish",
|
|
"command": "dotnet publish --configuration Release",
|
|
"type": "shell",
|
|
"dependsOn": "clean release",
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "Run Functions Host",
|
|
"identifier": "runFunctionsHost",
|
|
"type": "shell",
|
|
"dependsOn": "build",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/bin/Debug/netcoreapp3.1"
|
|
},
|
|
"command": "func host start",
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"reveal": "always"
|
|
},
|
|
"problemMatcher": "$func-watch"
|
|
}
|
|
]
|
|
}
|