1{ 2 "version": "2.0.0", 3 "tasks": [ 4 { 5 "label": "Cargo test", 6 "type": "shell", 7 "command": "cargo test", 8 "group": "test" 9 }, 10 { 11 "label": "Bazel test", 12 "type": "shell", 13 "command": "bazel test ...", 14 "group": "test", 15 "dependsOn": ["Vendor"] 16 }, 17 { 18 "label": "Buck test", 19 "type": "shell", 20 "command": "buck test ...", 21 "group": "test", 22 "dependsOn": ["Vendor"] 23 }, 24 { 25 "label": "Vendor", 26 "type": "shell", 27 "command": "cp third-party/Cargo.lock . && cargo vendor --versioned-dirs --locked third-party/vendor" 28 } 29 ] 30} 31