Files

37 lines
1009 B
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Watch",
"group": "build",
"type": "shell",
"command": "cargo watch",
"problemMatcher": "$rustc-watch",
"isBackground": true
},
{
"type": "cargo",
"command": "build",
"problemMatcher": [
"$rustc"
],
"group": {
"kind": "build",
"isDefault": true
},
"label": "rust: cargo build"
},
{
"type": "shell",
"command": "./script/run --dont-open",
"label": "build_galaxyoss"
},
{
"type": "shell",
"command": "./script/run --dont-open --features fast_dev",
"label": "build_galaxyoss_fastdev"
}
// TODO: If adding more configs that just add feature flags, consider argument passing from launch.json to tasks.json
]
}