isn/.vscode/tasks.json

136 lines
3.9 KiB
JSON

5 years ago
{
"version": "2.0.0",
"tasks": [
3 years ago
{
"label": "restore",
"command": "dotnet",
"type": "process",
"args": [
"restore",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
"--ignore-failed-sources"
],
3 years ago
"problemMatcher": "$msCompile",
"group": "build"
3 years ago
},
5 years ago
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
3 years ago
"/p:Configuration=Debug",
5 years ago
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
],
3 years ago
"problemMatcher": "$msCompile",
"group": "build"
5 years ago
},
{
3 years ago
"label": "db-upgrade",
5 years ago
"command": "dotnet",
"type": "process",
"args": [
3 years ago
"ef",
"database",
"update"
],
"problemMatcher": "$msCompile",
"options": {
"cwd": "${workspaceFolder}/src/isnd",
"env": {
"ASPNETCORE_ENV": "Development"
}
3 years ago
},
"dependsOn":["build"],
"group": "test"
3 years ago
},
{
"label": "buildcli",
"command": "msbuild",
"type": "process",
"args": [
"src/isn",
"/p:Configuration=Debug",
5 years ago
"/property:GenerateFullPaths=true",
3 years ago
"/consoleloggerparameters:NoSummary",
"/restore"
5 years ago
],
3 years ago
"problemMatcher": "$msCompile",
"group": "build"
5 years ago
},
{
3 years ago
"label": "publish",
5 years ago
"command": "dotnet",
"type": "process",
"args": [
3 years ago
"publish",
"/p:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary",
"/p:TargetFramework=netcoreapp2.1",
"/p:RuntimeIdentifier=linux-x64",
"/p:PublishDir=${workspaceFolder}/artifacts"
],
"problemMatcher": "$msCompile",
"options": {
"cwd": "${workspaceFolder}"
3 years ago
},
"group": "none"
3 years ago
},
{
"label": "monopublish",
"command": "msbuild",
"type": "process",
"args": [
"/t:publish",
"/p:TargetFramework=netcoreapp2.1;PublishDir=${workspaceFolder}/artiffacts;RuntimeIdentifier=linux-x64",
5 years ago
],
"problemMatcher": "$msCompile"
},
3 years ago
{
"label": "copyTestConfig",
"command": "dotnet",
"type": "process",
3 years ago
"args": [ "build", "/t:CopyTestConfig" ],
"group": "test"
3 years ago
},
{
"label": "test",
"command": "dotnet",
"type": "process",
"options": {
"env": {
"ASPNETCORE_ENVIRONMENT": "Testing"
}
},
"args": [
"test",
"/property:GenerateFullPaths=true",
"--logger:xunit"
],
"problemMatcher": "$msCompile",
3 years ago
"dependsOn": [ "build", "copyTestConfig"],
"group": "test"
3 years ago
},
5 years ago
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
3 years ago
"bin/Debug/netcoreapp2.1/isnd.dll",
"/property:GenerateFullPaths=true",
"/restore"
5 years ago
],
"options": {
"env": {
3 years ago
"ASPNETCORE_ENVIRONMENT": "Development"
5 years ago
}
},
3 years ago
"problemMatcher": "$msCompile",
"group": "test"
5 years ago
}
]
}