mirror of
https://github.com/farcasclaudiu/AzureStaticWebApp-CSharp-SimpleDemo.git
synced 2026-06-22 05:01:01 +03:00
81 lines
1.6 KiB
JSON
81 lines
1.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "clean",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"clean",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"type": "process",
|
|
"problemMatcher": "$msCompile",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/api"
|
|
}
|
|
},
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"type": "process",
|
|
"dependsOn": "clean",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": "$msCompile",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/api"
|
|
}
|
|
},
|
|
{
|
|
"label": "clean release",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"clean",
|
|
"--configuration",
|
|
"Release",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"type": "process",
|
|
"problemMatcher": "$msCompile",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/api"
|
|
}
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"publish",
|
|
"--configuration",
|
|
"Release",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary"
|
|
],
|
|
"type": "process",
|
|
"dependsOn": "clean release",
|
|
"problemMatcher": "$msCompile",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/api"
|
|
}
|
|
},
|
|
{
|
|
"type": "func",
|
|
"dependsOn": "build",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/api/bin/Debug/netcoreapp3.1"
|
|
},
|
|
"command": "host start",
|
|
"isBackground": true,
|
|
"problemMatcher": "$func-dotnet-watch"
|
|
}
|
|
]
|
|
} |