Add initial implementation of TUI-WM with README, build tasks, and configuration files
This commit is contained in:
67
.vscode/tasks.json
vendored
Normal file
67
.vscode/tasks.json
vendored
Normal 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"]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user