Add test tasks

This commit is contained in:
David Tolnay 2020-09-24 07:58:17 -04:00
parent 0638d09ddb
commit da37e50cff
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

30
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,30 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Cargo test",
"type": "shell",
"command": "cargo test",
"group": "test"
},
{
"label": "Bazel test",
"type": "shell",
"command": "bazel test ...",
"group": "test",
"dependsOn": ["Vendor"]
},
{
"label": "Buck test",
"type": "shell",
"command": "buck test ...",
"group": "test",
"dependsOn": ["Vendor"]
},
{
"label": "Vendor",
"type": "shell",
"command": "cp third-party/Cargo.lock . && cargo vendor --versioned-dirs --locked third-party/vendor"
}
]
}