Files
duempelkas/.vscode/tasks.json

106 lines
3.2 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "build",
"command": "dotnet",
"type": "process",
"args": [
"build",
"${workspaceFolder}/Duempelkas.slnx"
],
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
},
"options": {
"statusbar": {
"label": "$(tools) Build",
"color": "#3a96ff",
"detail": "Build the solution"
}
}
},
{
"label": "publish",
"command": "dotnet",
"type": "process",
"args": [
"publish",
"${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj",
"-c",
"Release",
"-r",
"win-x64",
"--self-contained",
"true",
"/p:PublishSingleFile=true",
"/p:EnableCompressionInSingleFile=true",
"/p:IncludeNativeLibrariesForSelfExtract=true",
"/p:IncludeAllContentForSelfExtract=true",
"/p:DebugType=None",
"/p:DebugSymbols=false",
"-o",
"${workspaceFolder}/Publish"
],
"problemMatcher": "$msCompile",
"options": {
"statusbar": {
"label": "$(package) Publish",
"color": "#22c55e",
"detail": "Publish desktop app into Publish folder"
}
}
},
{
"label": "watch",
"command": "dotnet",
"type": "process",
"args": [
"watch",
"run",
"--project",
"${workspaceFolder}/src/Duempelkas.Desktop/Duempelkas.Desktop.csproj"
],
"problemMatcher": "$msCompile",
"isBackground": true,
"presentation": {
"reveal": "never",
"panel": "dedicated"
},
"options": {
"statusbar": {
"label": "$(eye) Watch",
"color": "#f7df06",
"detail": "Watch and Run Desktop"
}
}
},
{
"label": "Git Sub Update",
"type": "shell",
"command": "git submodule update --init",
"options": {
"statusbar": {
"hide": false,
"label": "$(arrow-circle-down) Git Sub Update",
"color": "#3a96ff"
}
}
},
{
"label": "Git Fetch + Pull Root + Submodule Init",
"type": "shell",
"command": "git fetch; git pull; git submodule update --init",
"options": {
"statusbar": {
"hide": false,
"label": "$(arrow-circle-down) Git Fetch/Pull + Submodules",
"color": "#3a96ff"
}
}
}
]
}