mirror of
https://gitee.com/openharmony/third_party_rust_cxx
synced 2024-11-23 07:10:29 +00:00
Add test tasks
This commit is contained in:
parent
0638d09ddb
commit
da37e50cff
30
.vscode/tasks.json
vendored
Normal file
30
.vscode/tasks.json
vendored
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user