mirror of
https://github.com/litruv/PNGTuber-Plus.git
synced 2026-07-24 02:26:02 +10:00
121 lines
3.1 KiB
JSON
121 lines
3.1 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build Windows (Local)",
|
|
"type": "shell",
|
|
"command": ".\\build-windows.bat",
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"args": [],
|
|
"isBackground": false,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"detail": "Build Windows executable using local build script with template management"
|
|
},
|
|
{
|
|
"label": "Build Windows (CI)",
|
|
"type": "shell",
|
|
"command": ".\\build-windows-ci.bat",
|
|
"group": "build",
|
|
"args": [],
|
|
"isBackground": false,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"detail": "Build Windows executable using CI build script (no template download)"
|
|
},
|
|
{
|
|
"label": "Export Windows (Godot Direct)",
|
|
"type": "shell",
|
|
"command": "D:\\Godot\\Godot_v4.4.1-stable_win64.exe",
|
|
"group": "build",
|
|
"args": [
|
|
"--headless",
|
|
"--export-release",
|
|
"\"Windows Desktop\"",
|
|
"\"build/windows/PNGTuber-Plus.exe\""
|
|
],
|
|
"isBackground": false,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"detail": "Export Windows build directly using Godot (requires templates already installed)"
|
|
},
|
|
{
|
|
"label": "Clean Build Directory",
|
|
"type": "shell",
|
|
"command": "if (Test-Path 'build') { Remove-Item -Recurse -Force 'build' }; Write-Host 'Build directory cleaned'",
|
|
"group": "build",
|
|
"args": [],
|
|
"isBackground": false,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"detail": "Clean the build output directory"
|
|
},
|
|
{
|
|
"label": "Open Build Directory",
|
|
"type": "shell",
|
|
"command": "if (Test-Path 'build\\windows') { explorer 'build\\windows' } else { Write-Host 'Build directory does not exist. Run a build first.' }",
|
|
"group": "build",
|
|
"args": [],
|
|
"isBackground": false,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"detail": "Open the Windows build output directory in Explorer"
|
|
},
|
|
{
|
|
"label": "Run Built Executable",
|
|
"type": "shell",
|
|
"command": "if (Test-Path 'build\\windows\\PNGTuber-Plus.exe') { Start-Process 'build\\windows\\PNGTuber-Plus.exe' } else { Write-Host 'Executable not found. Build the project first.' }",
|
|
"group": "test",
|
|
"args": [],
|
|
"isBackground": true,
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared",
|
|
"showReuseMessage": true,
|
|
"clear": false
|
|
},
|
|
"detail": "Run the built Windows executable for testing"
|
|
}
|
|
]
|
|
} |