{ "version": "2.0.0", "tasks": [ { "label": "cargo fmt (check)", "type": "cargo", "command": "fmt", "args": ["--check"], "problemMatcher": [], "group": "build" }, { "label": "cargo check (workspace)", "type": "cargo", "command": "check", "args": ["--workspace"], "problemMatcher": ["$rustc"], "group": "build" }, { "label": "cargo clippy (workspace)", "type": "cargo", "command": "clippy", "args": ["--workspace"], "problemMatcher": ["$rustc"], "group": "build" }, { "label": "cargo clippy (foundation strict)", "type": "cargo", "command": "clippy", "args": ["-p", "game", "-p", "shared", "--", "-D", "warnings"], "problemMatcher": ["$rustc"], "group": "build" }, { "label": "cargo test (foundation)", "type": "cargo", "command": "test", "args": ["-p", "game", "--lib"], "problemMatcher": ["$rustc"], "group": "test" }, { "label": "build game (debug)", "type": "cargo", "command": "build", "args": ["-p", "game"], "problemMatcher": ["$rustc"], "group": "build" }, { "label": "build editor (debug)", "type": "cargo", "command": "build", "args": ["-p", "editor"], "problemMatcher": ["$rustc"], "group": { "kind": "build", "isDefault": true } }, { "label": "build editor (dev fast-link)", "type": "cargo", "command": "build", "args": ["-p", "editor", "--features", "dev"], "options": { "env": { "CARGO_TARGET_DIR": "${workspaceFolder}/target" } }, "problemMatcher": ["$rustc"], "group": "build" }, { "label": "build game (dev fast-link)", "type": "cargo", "command": "build", "args": ["-p", "game", "--features", "dev"], "options": { "env": { "CARGO_TARGET_DIR": "${workspaceFolder}/target" } }, "problemMatcher": ["$rustc"], "group": "build" }, { "label": "clean build editor (dev)", "type": "shell", "command": "cargo clean -p editor && cargo build -p editor --features dev", "options": { "cwd": "${workspaceFolder}", "env": { "CARGO_TARGET_DIR": "${workspaceFolder}/target" } }, "problemMatcher": ["$rustc"], "group": "build" }, { "label": "target cleanup (dry run)", "type": "shell", "command": "cargo clean-target", "options": { "cwd": "${workspaceFolder}", "env": { "CARGO_TARGET_DIR": "${workspaceFolder}/target" } }, "problemMatcher": [], "group": "build" }, { "label": "target cleanup (safe apply)", "type": "shell", "command": "cargo clean-target --apply", "options": { "cwd": "${workspaceFolder}", "env": { "CARGO_TARGET_DIR": "${workspaceFolder}/target" } }, "problemMatcher": [], "group": "build" }, { "label": "run editor (dev fast-link)", "type": "cargo", "command": "run", "args": ["-p", "editor", "--features", "dev"], "options": { "env": { "BEVY_FPS_HDR": "0", "WGPU_VALIDATION": "0", "CARGO_TARGET_DIR": "${workspaceFolder}/target" } }, "problemMatcher": ["$rustc"], "group": "build" }, { "label": "run game (dev fast-link)", "type": "cargo", "command": "run", "args": ["-p", "game", "--features", "dev"], "options": { "env": { "BEVY_FPS_HDR": "0", "WGPU_VALIDATION": "0", "CARGO_TARGET_DIR": "${workspaceFolder}/target" } }, "problemMatcher": ["$rustc"], "group": "build" }, { "label": "watch game_hot (hot reload)", "type": "shell", "command": "cargo watch -w crates/game_hot -w crates/sim -x \"build -p game_hot --features dylib\"", "options": { "cwd": "${workspaceFolder}", "env": { "CARGO_TARGET_DIR": "${workspaceFolder}/target" } }, "problemMatcher": ["$rustc"], "group": "build", "isBackground": true }, { "label": "verify foundation", "dependsOrder": "sequence", "dependsOn": [ "cargo fmt (check)", "cargo check (workspace)", "cargo clippy (workspace)", "cargo clippy (foundation strict)", "cargo test (foundation)", "build game (debug)", "build editor (debug)" ], "problemMatcher": [], "group": { "kind": "build", "isDefault": true } } ] }