2021-04-08 02:03:17 +01:00
|
|
|
{
|
|
|
|
|
"version": "2.0.0",
|
|
|
|
|
"tasks": [
|
2021-04-10 14:11:09 +01:00
|
|
|
{
|
|
|
|
|
"label": "restore",
|
|
|
|
|
"command": "dotnet",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"args": [
|
|
|
|
|
"restore",
|
|
|
|
|
"/property:GenerateFullPaths=true",
|
|
|
|
|
"/consoleloggerparameters:NoSummary",
|
|
|
|
|
"--ignore-failed-sources"
|
|
|
|
|
],
|
|
|
|
|
"problemMatcher": "$msCompile"
|
|
|
|
|
},
|
2021-04-08 02:03:17 +01:00
|
|
|
{
|
|
|
|
|
"label": "build",
|
|
|
|
|
"command": "dotnet",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"args": [
|
|
|
|
|
"build",
|
2021-05-10 21:32:29 +01:00
|
|
|
"/p:Configuration=Debug",
|
|
|
|
|
"/property:GenerateFullPaths=true",
|
2023-02-06 21:43:18 +00:00
|
|
|
"/consoleloggerparameters:NoSummary"
|
2021-05-10 21:32:29 +01:00
|
|
|
],
|
|
|
|
|
"problemMatcher": "$msCompile"
|
|
|
|
|
},
|
2022-09-25 16:47:31 +01:00
|
|
|
{
|
|
|
|
|
"label": "db-upgrade",
|
|
|
|
|
"command": "dotnet",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"args": [
|
|
|
|
|
"ef",
|
|
|
|
|
"database",
|
|
|
|
|
"update"
|
|
|
|
|
],
|
|
|
|
|
"problemMatcher": "$msCompile",
|
|
|
|
|
"options": {
|
|
|
|
|
"cwd": "${workspaceFolder}/src/isnd",
|
|
|
|
|
"env": {
|
|
|
|
|
"ASPNETCORE_ENV": "Development"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
2021-05-10 21:32:29 +01:00
|
|
|
{
|
|
|
|
|
"label": "buildcli",
|
2021-05-14 03:15:34 +01:00
|
|
|
"command": "msbuild",
|
2021-05-10 21:32:29 +01:00
|
|
|
"type": "process",
|
|
|
|
|
"args": [
|
2021-07-05 12:55:52 +01:00
|
|
|
"src/isn",
|
2021-04-25 12:12:50 +01:00
|
|
|
"/p:Configuration=Debug",
|
2021-04-08 02:03:17 +01:00
|
|
|
"/property:GenerateFullPaths=true",
|
2021-04-08 03:08:20 +01:00
|
|
|
"/consoleloggerparameters:NoSummary",
|
2021-05-14 03:15:34 +01:00
|
|
|
"/restore"
|
2021-04-08 02:03:17 +01:00
|
|
|
],
|
|
|
|
|
"problemMatcher": "$msCompile"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "publish",
|
|
|
|
|
"command": "dotnet",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"args": [
|
|
|
|
|
"publish",
|
2022-09-23 22:16:12 +01:00
|
|
|
"/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",
|
|
|
|
|
|
2021-05-09 16:28:20 +01:00
|
|
|
],
|
|
|
|
|
"problemMatcher": "$msCompile"
|
|
|
|
|
},
|
2021-09-13 23:28:56 +01:00
|
|
|
{
|
|
|
|
|
"label": "copyTestConfig",
|
|
|
|
|
"command": "dotnet",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"args": [ "build", "/t:CopyTestConfig" ]
|
|
|
|
|
},
|
2021-05-09 16:28:20 +01:00
|
|
|
{
|
|
|
|
|
"label": "test",
|
|
|
|
|
"command": "dotnet",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"options": {
|
|
|
|
|
"env": {
|
2021-09-13 23:28:56 +01:00
|
|
|
"ASPNETCORE_ENVIRONMENT": "Testing"
|
2021-05-09 16:28:20 +01:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"args": [
|
|
|
|
|
"test",
|
2021-04-08 02:03:17 +01:00
|
|
|
"/property:GenerateFullPaths=true",
|
2022-06-16 17:03:38 +01:00
|
|
|
"--logger:xunit"
|
2021-04-08 02:03:17 +01:00
|
|
|
],
|
2021-09-13 23:28:56 +01:00
|
|
|
"problemMatcher": "$msCompile",
|
|
|
|
|
"dependsOn": [ "build", "copyTestConfig"]
|
2021-04-08 02:03:17 +01:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"label": "watch",
|
|
|
|
|
"command": "dotnet",
|
|
|
|
|
"type": "process",
|
|
|
|
|
"args": [
|
2021-07-05 12:55:52 +01:00
|
|
|
"bin/Debug/netcoreapp2.1/isnd.dll",
|
2021-04-08 03:08:20 +01:00
|
|
|
"/property:GenerateFullPaths=true",
|
|
|
|
|
"/restore"
|
2021-04-08 02:03:17 +01:00
|
|
|
],
|
|
|
|
|
"options": {
|
|
|
|
|
"env": {
|
2021-05-09 16:28:20 +01:00
|
|
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
2021-04-08 02:03:17 +01:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"problemMatcher": "$msCompile"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|