39 lines
910 B
JSON
39 lines
910 B
JSON
|
{
|
||
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||
|
// for the documentation about the tasks.json format
|
||
|
"version": "2.0.0",
|
||
|
"tasks": [
|
||
|
{
|
||
|
"label": "build",
|
||
|
"type": "shell",
|
||
|
"command": "cargo build",
|
||
|
"problemMatcher": [
|
||
|
"$rustc"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"label": "fmt",
|
||
|
"type": "shell",
|
||
|
"command": "nix fmt",
|
||
|
"problemMatcher": [
|
||
|
"$rustc"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"label": "clippy",
|
||
|
"type": "shell",
|
||
|
"command": "cargo clippy",
|
||
|
"problemMatcher": [
|
||
|
"$rustc"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"label": "run",
|
||
|
"type": "shell",
|
||
|
"command": "cargo run",
|
||
|
"problemMatcher": [
|
||
|
"$rustc"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|