Add initial implementation of TUI-WM with README, build tasks, and configuration files

This commit is contained in:
Björn Blomberg
2026-03-27 14:52:50 +01:00
parent f50ffa04de
commit d7c70baf35
7 changed files with 932 additions and 1 deletions

67
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,67 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build (native)",
"type": "shell",
"command": "cargo build --release",
"group": "build",
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": ["$rustc"]
},
{
"label": "Build Linux",
"type": "shell",
"command": "cargo build --release --target x86_64-unknown-linux-gnu",
"group": "build",
"options": { "shell": { "executable": "bash", "args": ["-c"] } },
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": ["$rustc"]
},
{
"label": "Build Windows (cross från Linux, GNU)",
"type": "shell",
"command": "cargo build --release --target x86_64-pc-windows-gnu",
"group": "build",
"options": { "shell": { "executable": "bash", "args": ["-c"] } },
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": ["$rustc"]
},
{
"label": "Build Windows (MSVC — kräver VS Build Tools)",
"type": "shell",
"command": "& \"$env:USERPROFILE\\.cargo\\bin\\cargo.exe\" build --release --target x86_64-pc-windows-msvc",
"group": "build",
"options": {
"shell": {
"executable": "powershell.exe",
"args": ["-NoProfile", "-Command"]
}
},
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": ["$rustc"]
},
{
"label": "Build Windows (GNU — kräver msys2 + mingw-w64)",
"type": "shell",
"command": "& \"$env:USERPROFILE\\.cargo\\bin\\cargo.exe\" build --release --target x86_64-pc-windows-gnu",
"group": "build",
"options": {
"shell": {
"executable": "powershell.exe",
"args": ["-NoProfile", "-Command"]
}
},
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": ["$rustc"]
},
{
"label": "Run",
"type": "shell",
"command": "cargo run",
"group": { "kind": "build", "isDefault": true },
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": ["$rustc"]
}
]
}