isn/.vscode/tasks.json

129 lines
3.6 KiB
JSON

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