summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/defaults/CC/TARGETS3
-rw-r--r--etc/defaults/CC/auto/TARGETS1
-rw-r--r--etc/defaults/CC/proto/TARGETS14
-rw-r--r--etc/defaults/CC/test/TARGETS1
-rw-r--r--etc/defaults/shell/test/TARGETS1
-rw-r--r--etc/repos.json4
-rw-r--r--etc/repos.template.json4
7 files changed, 24 insertions, 4 deletions
diff --git a/etc/defaults/CC/TARGETS b/etc/defaults/CC/TARGETS
new file mode 100644
index 0000000..6e095cc
--- /dev/null
+++ b/etc/defaults/CC/TARGETS
@@ -0,0 +1,3 @@
+{ "defaults":
+ {"type": ["CC", "defaults"], "base": [["@", "base", "CC", "defaults"]]}
+}
diff --git a/etc/defaults/CC/auto/TARGETS b/etc/defaults/CC/auto/TARGETS
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/etc/defaults/CC/auto/TARGETS
@@ -0,0 +1 @@
+{}
diff --git a/etc/defaults/CC/proto/TARGETS b/etc/defaults/CC/proto/TARGETS
new file mode 100644
index 0000000..95ae1b0
--- /dev/null
+++ b/etc/defaults/CC/proto/TARGETS
@@ -0,0 +1,14 @@
+{ "defaults":
+ { "type": ["CC/proto", "defaults"]
+ , "PROTOC": ["bin/protoc"]
+ , "deps": [["@", "protoc", "", "libprotobuf"]]
+ , "toolchain": [["@", "protoc", "", "toolchain"]]
+ }
+, "service defaults":
+ { "type": ["CC/proto", "defaults"]
+ , "base": ["defaults"]
+ , "GRPC_PLUGIN": ["grpc_cpp_plugin"]
+ , "deps": [["@", "grpc", "", "grpc++"]]
+ , "toolchain": [["@", "grpc", "", "grpc_cpp_plugin"]]
+ }
+}
diff --git a/etc/defaults/CC/test/TARGETS b/etc/defaults/CC/test/TARGETS
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/etc/defaults/CC/test/TARGETS
@@ -0,0 +1 @@
+{}
diff --git a/etc/defaults/shell/test/TARGETS b/etc/defaults/shell/test/TARGETS
new file mode 100644
index 0000000..0967ef4
--- /dev/null
+++ b/etc/defaults/shell/test/TARGETS
@@ -0,0 +1 @@
+{}
diff --git a/etc/repos.json b/etc/repos.json
index 636c63c..e7205f3 100644
--- a/etc/repos.json
+++ b/etc/repos.json
@@ -3,8 +3,7 @@
{ "rules": {"repository": {"type": "file", "path": "rules"}}
, "rules with bundled tools":
{ "repository": "rules"
- , "target_root": "just/defaults"
- , "target_file_name": "TARGETS.just"
+ , "target_root": "defaults"
, "rule_root": "rules"
, "bindings":
{ "base": "just/rules"
@@ -12,6 +11,7 @@
, "grpc": "just/com_github_grpc_grpc"
}
}
+ , "defaults": {"repository": {"type": "file", "path": "etc/defaults"}}
, "tests":
{ "repository": {"type": "file", "path": "tests"}
, "bindings":
diff --git a/etc/repos.template.json b/etc/repos.template.json
index c14780b..b18b665 100644
--- a/etc/repos.template.json
+++ b/etc/repos.template.json
@@ -3,8 +3,7 @@
{ "rules": {"repository": {"type": "file", "path": "rules"}}
, "rules with bundled tools":
{ "repository": "rules"
- , "target_root": "just/defaults"
- , "target_file_name": "TARGETS.just"
+ , "target_root": "defaults"
, "rule_root": "rules"
, "bindings":
{ "base": "just/rules"
@@ -12,6 +11,7 @@
, "grpc": "just/com_github_grpc_grpc"
}
}
+ , "defaults": {"repository": {"type": "file", "path": "etc/defaults"}}
, "tests":
{ "repository": {"type": "file", "path": "tests"}
, "bindings":