Files
TUI-FM/.vscode/tasks.json
Bjorn Blomberg 39fb2a270a Add Gitea Actions release workflow + combined VS Code build task
Same pattern as TUI-WM: rolling 'latest' release with linux x64 +
arm64 binaries built on the Pi5 runner.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-14 19:44:35 +02:00

46 lines
1.9 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Build alla (Linux + Windows)",
"type": "shell",
"command": "cargo build --release && cargo build --release --target x86_64-pc-windows-gnu && mkdir -p build/linux build/windows && cp target/release/tui-fm build/linux/tui-fm && cp target/x86_64-pc-windows-gnu/release/tui-fm.exe build/windows/tui-fm.exe && echo 'Done: build/linux/tui-fm + build/windows/tui-fm.exe'",
"group": "build",
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": "$rustc",
"detail": "Bygger båda binärerna: Linux (native) + Windows (kräver mingw-w64)"
},
{
"label": "Build - Linux",
"type": "shell",
"command": "cargo build --release && mkdir -p build/linux && cp target/release/tui-fm build/linux/tui-fm",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"problemMatcher": "$rustc",
"detail": "Bygger tui-fm för Linux och kopierar binären till build/linux/"
},
{
"label": "Build - Windows",
"type": "shell",
"command": "cargo build --release --target x86_64-pc-windows-gnu && mkdir -p build/windows && cp target/x86_64-pc-windows-gnu/release/tui-fm.exe build/windows/tui-fm.exe",
"group": "build",
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"problemMatcher": "$rustc",
"detail": "Bygger tui-fm för Windows (kräver mingw-w64 och rustup target add x86_64-pc-windows-gnu)"
}
]
}