Add release build task

This commit is contained in:
Michael Bradley 2025-05-24 18:43:37 -04:00
parent 4dac7c5366
commit 85ca3af12d
Signed by: MichaelBradley
SSH key fingerprint: SHA256:o/aaeYtRubILK7OYYjYP12DmU7BsPUhKji1AgaQ+ge4
2 changed files with 22 additions and 2 deletions

View file

@ -17,6 +17,7 @@
"rust-analyzer.check.command": "clippy", // "check", //
"rust-analyzer.cargo.targetDir": true,
"cSpell.words": [
"Backquote",
"codegen",
"despawn",
"Despawns",

23
.vscode/tasks.json vendored
View file

@ -2,12 +2,31 @@
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"label": "Dev build",
"type": "cargo",
"command": "build",
"presentation": {
"echo": true,
"reveal": "silent",
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,
"clear": false
},
"problemMatcher": ["$rustc"],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Release build",
"type": "cargo",
"command": "build",
"args": ["--release", "--no-default-features"],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "dedicated",
"showReuseMessage": false,