aboutsummaryrefslogtreecommitdiff
path: root/test/testdata/generated_bzl_test/input.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'test/testdata/generated_bzl_test/input.bzl')
-rw-r--r--test/testdata/generated_bzl_test/input.bzl16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/testdata/generated_bzl_test/input.bzl b/test/testdata/generated_bzl_test/input.bzl
new file mode 100644
index 0000000..bad15f6
--- /dev/null
+++ b/test/testdata/generated_bzl_test/input.bzl
@@ -0,0 +1,16 @@
+"""A direct dependency file of the input file."""
+
+load(":testdata/generated_bzl_test/dep.bzl", "my_rule_impl")
+
+my_rule = rule(
+ implementation = my_rule_impl,
+ doc = "This is my rule. It does stuff.",
+ attrs = {
+ "first": attr.label(
+ mandatory = True,
+ doc = "first my_rule doc string",
+ allow_single_file = True,
+ ),
+ "second": attr.string_dict(mandatory = True),
+ },
+)