diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-19 12:32:38 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2023-04-19 14:40:33 +0200 |
commit | e92f8c8ce6cda87968eab0617355eda72a1bbbda (patch) | |
tree | 47de999c71ee47a95cb2fd830b38b1df3fdf5a06 /etc/repos.template.json | |
parent | 622e9213f9e801b71a5e6c9e13b5f92dddf040f7 (diff) | |
download | rules-cc-e92f8c8ce6cda87968eab0617355eda72a1bbbda.tar.gz |
proto rules: reattach toolchain
Restore the behaviour that, when the rules are imported via
just-import-git, the proto tool chain comes as a dependency. In
this way the rules can be used in an environment with just a C/C++
compiler present while still having proto available.
Diffstat (limited to 'etc/repos.template.json')
-rw-r--r-- | etc/repos.template.json | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/etc/repos.template.json b/etc/repos.template.json index 4bdd1dc..c14780b 100644 --- a/etc/repos.template.json +++ b/etc/repos.template.json @@ -1,9 +1,16 @@ -{ "main": "rules" +{ "main": "rules with bundled tools" , "repositories": - { "rules": - { "repository": {"type": "file", "path": "rules"} + { "rules": {"repository": {"type": "file", "path": "rules"}} + , "rules with bundled tools": + { "repository": "rules" + , "target_root": "just/defaults" + , "target_file_name": "TARGETS.just" + , "rule_root": "rules" , "bindings": - {"protoc": "just/protobuf", "grpc": "just/com_github_grpc_grpc"} + { "base": "just/rules" + , "protoc": "just/protobuf" + , "grpc": "just/com_github_grpc_grpc" + } } , "tests": { "repository": {"type": "file", "path": "tests"} |