Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/project-model/test_data/labeled-project.json')
-rw-r--r--crates/project-model/test_data/labeled-project.json37
1 files changed, 37 insertions, 0 deletions
diff --git a/crates/project-model/test_data/labeled-project.json b/crates/project-model/test_data/labeled-project.json
new file mode 100644
index 0000000000..5c0e1f3397
--- /dev/null
+++ b/crates/project-model/test_data/labeled-project.json
@@ -0,0 +1,37 @@
+{
+ "sysroot_src": null,
+ "crates": [
+ {
+ "display_name": "hello_world",
+ "root_module": "$ROOT$src/lib.rs",
+ "edition": "2018",
+ "deps": [],
+ "is_workspace_member": true,
+ "build": {
+ "label": "//:hello_world",
+ "build_file": "$ROOT$BUILD",
+ "target_kind": "bin"
+ }
+ }
+ ],
+ "runnables": [
+ {
+ "kind": "run",
+ "program": "bazel",
+ "args": ["run", "{label}"],
+ "cwd": "$ROOT$"
+ },
+ {
+ "kind": "flycheck",
+ "program": "$ROOT$custom-flychecker.sh",
+ "args": ["{label}"],
+ "cwd": "$ROOT$"
+ },
+ {
+ "kind": "we-ignore-unknown-runnable-kinds-for-forwards-compatibility",
+ "program": "abc",
+ "args": ["{label}"],
+ "cwd": "$ROOT$"
+ }
+ ]
+}