yavsc/.vscode/tasks.json

120 lines
2.7 KiB
JSON
Raw Permalink Normal View History

2025-03-02 16:53:36 +00:00
{
2026-03-01 02:13:26 +00:00
"version": "2.0.0",
"tasks": [
2026-08-23 18:34:34 +01:00
{
"label": "run-debug-android",
"command": "dotnet",
"type": "shell",
"options": {
"cwd": "${workspaceFolder}/src/PostIt/PostIt.Android",
"env": {
"DOTNET_HOST_PATH": "/usr/share/dotnet",
"ANDROID_HOME": "/opt/android-sdk",
"JAVA_HOME": "/usr/lib/jvm/java-1.21.0-openjdk-amd64"
}
},
"args": [
"build"
"-t:run",
"-p:TargetFramework=net10.0-android",
"-p:Configuration=Debug",
"-p:AndroidAttachDebugger=true",
"-p:AndroidSdbHostPort=10000",
"-p:AndroidSdbTargetPort=10000"
],
"problemMatcher": "$msCompile"
},
2026-03-01 02:13:26 +00:00
{
"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",
2026-03-01 02:13:26 +00:00
"type": "process",
"problemMatcher": ["$msCompile"],
"command": "dotnet",
"args": ["test"],
2026-03-01 02:13:26 +00:00
"options": {
"cwd": "src/Yavsc.Blogs.Tests"
2026-03-01 02:13:26 +00:00
},
"group": {
"kind": "test",
"isDefault": false
2026-06-04 19:18:28 +01:00
}
2026-03-01 02:13:26 +00:00
},
{
"label": "build-webapi",
"type": "process",
"problemMatcher": ["$msCompile"],
"command": "dotnet",
"args": ["build"],
"options": {
"cwd": "src/Api"
},
"group": {
"kind": "build"
},
"isBackground": true
},
{
"label": "test blogs",
2026-03-01 02:13:26 +00:00
"type": "process",
"problemMatcher": ["$msCompile"],
"command": "dotnet",
"args": ["test"],
"runOptions": {
"instanceLimit": 1
},
2026-03-01 02:13:26 +00:00
"options": {
"cwd": "src/Yavsc.Blogs",
"env": {
"DOTNET_CLI_UI_LANGUAGE": "en-US",
"ASPNETCORE_ENVIRONMENT": "Development"
}
2026-03-01 02:13:26 +00:00
},
"group": {
"kind": "test"
2026-03-01 02:13:26 +00:00
},
"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": {
2026-03-01 02:13:26 +00:00
}
2025-03-02 16:53:36 +00:00
2026-03-01 02:13:26 +00:00
}
]
2025-03-02 16:53:36 +00:00
}