{ "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)" } ] }