Skip to content

Commit

Permalink
321: clean up +nightly in one more spot
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Nov 8, 2023
1 parent 75f59d0 commit 38c8931
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{
"label": "fmt",
"type": "shell",
"command": "cargo +nightly fmt --check",
"command": "cargo fmt --check",
"options": {
"cwd": "${workspaceFolder}"
},
Expand All @@ -15,13 +15,27 @@
"isDefault": "false"
}
},
{
"label": "lint",
"type": "shell",
"command": "cargo clippy --all-features --no-deps",
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": "fmt",
"group": {
"kind": "build",
"isDefault": "false"
}
},
{
"label": "build",
"type": "shell",
"command": "cargo build",
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": "lint",
"group": {
"kind": "build",
"isDefault": "false"
Expand All @@ -34,6 +48,7 @@
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": "lint",
"group": {
"kind": "build",
"isDefault": "true"
Expand All @@ -46,10 +61,11 @@
"options": {
"cwd": "${workspaceFolder}"
},
"dependsOn": "lint",
"group": {
"kind": "test",
"isDefault": "true"
}
}
]
}
}

0 comments on commit 38c8931

Please sign in to comment.