Add release build task
This commit is contained in:
parent
4dac7c5366
commit
85ca3af12d
2 changed files with 22 additions and 2 deletions
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -17,6 +17,7 @@
|
||||||
"rust-analyzer.check.command": "clippy", // "check", //
|
"rust-analyzer.check.command": "clippy", // "check", //
|
||||||
"rust-analyzer.cargo.targetDir": true,
|
"rust-analyzer.cargo.targetDir": true,
|
||||||
"cSpell.words": [
|
"cSpell.words": [
|
||||||
|
"Backquote",
|
||||||
"codegen",
|
"codegen",
|
||||||
"despawn",
|
"despawn",
|
||||||
"Despawns",
|
"Despawns",
|
||||||
|
|
23
.vscode/tasks.json
vendored
23
.vscode/tasks.json
vendored
|
@ -2,12 +2,31 @@
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "Build",
|
"label": "Dev build",
|
||||||
"type": "cargo",
|
"type": "cargo",
|
||||||
"command": "build",
|
"command": "build",
|
||||||
"presentation": {
|
"presentation": {
|
||||||
"echo": true,
|
"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,
|
"focus": false,
|
||||||
"panel": "dedicated",
|
"panel": "dedicated",
|
||||||
"showReuseMessage": false,
|
"showReuseMessage": false,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue