summaryrefslogtreecommitdiff
path: root/doc/getting-started/etc
diff options
context:
space:
mode:
authorAlberto Sartori <alberto.sartori@huawei.com>2024-06-25 16:26:10 +0200
committerAlberto Sartori <alberto.sartori@huawei.com>2024-06-28 20:28:37 +0200
commit4d18d2723a28bb8e262920330335f046d94dac97 (patch)
tree399178f6e5ff82e6600ae2c90d7020e5cf5e7c89 /doc/getting-started/etc
parent20fab4540271abf9216bb22f604e7d48800e4e0b (diff)
downloadrules-rust-4d18d2723a28bb8e262920330335f046d94dac97.tar.gz
rules-rust: add "getting-started" tutorial
Through this tutorial the user will learn how to define Rust binaries, libraries, tests and the default toolchain configuration.
Diffstat (limited to 'doc/getting-started/etc')
-rw-r--r--doc/getting-started/etc/repos.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/getting-started/etc/repos.json b/doc/getting-started/etc/repos.json
new file mode 100644
index 0000000..57ee597
--- /dev/null
+++ b/doc/getting-started/etc/repos.json
@@ -0,0 +1,17 @@
+{ "main": "example"
+, "repositories":
+ { "example":
+ { "repository": {"type": "file", "path": "."}
+ , "bindings": {"rules": "rules-rust"}
+ }
+ , "rules-rust":
+ { "repository":
+ { "type": "git"
+ , "repository": "https://github.com/just-buildsystem/rules-rust"
+ , "branch": "master"
+ , "commit": "1a8211bda5c14ef0b2bff3af062c049d5598f02f"
+ , "subdir": "rules"
+ }
+ }
+ }
+}