97 lines
2.1 KiB
JSON
97 lines
2.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "build",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": ["build", "/property:GenerateFullPaths=true"],
|
|
"group": "build",
|
|
"isBuildCommand": true,
|
|
"isTestCommand": false,
|
|
"problemMatcher": ["$msCompile"],
|
|
"isBackground": true
|
|
},
|
|
{
|
|
"label": "test blogs backend",
|
|
"type": "process",
|
|
"problemMatcher": ["$msCompile"],
|
|
"command": "dotnet",
|
|
"args": ["test"],
|
|
"options": {
|
|
"cwd": "src/Yavsc.Blogs.Tests"
|
|
},
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": false
|
|
}
|
|
},
|
|
{
|
|
"label": "build-webapi",
|
|
"type": "process",
|
|
"problemMatcher": ["$msCompile"],
|
|
"command": "dotnet",
|
|
"args": ["build"],
|
|
"options": {
|
|
"cwd": "src/Api"
|
|
},
|
|
"group": {
|
|
"kind": "build"
|
|
},
|
|
"isBackground": true
|
|
},
|
|
{
|
|
"label": "test blogs",
|
|
"type": "process",
|
|
"problemMatcher": ["$msCompile"],
|
|
"command": "dotnet",
|
|
"args": ["test"],
|
|
"runOptions": {
|
|
"instanceLimit": 1
|
|
},
|
|
"options": {
|
|
"cwd": "src/Yavsc.Blogs",
|
|
"env": {
|
|
"DOTNET_CLI_UI_LANGUAGE": "en-US",
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
|
}
|
|
},
|
|
"group": {
|
|
"kind": "test"
|
|
},
|
|
"isBackground": true,
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
}
|
|
},
|
|
{
|
|
"label": "publish",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": [
|
|
"publish",
|
|
"/property:GenerateFullPaths=true",
|
|
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
|
],
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"label": "watch",
|
|
"command": "dotnet",
|
|
"type": "process",
|
|
"args": ["watch", "--project",
|
|
"src/Yavsc.Org/Yavsc.Org.csproj"
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
"runOptions": {
|
|
|
|
}
|
|
|
|
}
|
|
]
|
|
}
|