From 85ca3af12d356b465f97d0d725239e08db56c946 Mon Sep 17 00:00:00 2001 From: Michael Bradley Date: Sat, 24 May 2025 18:43:37 -0400 Subject: [PATCH] Add release build task --- .vscode/settings.json | 1 + .vscode/tasks.json | 23 +++++++++++++++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 0390453..d614d6a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -17,6 +17,7 @@ "rust-analyzer.check.command": "clippy", // "check", // "rust-analyzer.cargo.targetDir": true, "cSpell.words": [ + "Backquote", "codegen", "despawn", "Despawns", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 1062be3..779bf54 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -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,