aboutsummaryrefslogtreecommitdiff
path: root/tests/legacy/providers/test.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/legacy/providers/test.bzl')
-rw-r--r--tests/legacy/providers/test.bzl14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/legacy/providers/test.bzl b/tests/legacy/providers/test.bzl
new file mode 100644
index 00000000..a82ba5f5
--- /dev/null
+++ b/tests/legacy/providers/test.bzl
@@ -0,0 +1,14 @@
+load("//go:def.bzl", "GoLibrary")
+
+def _test_impl(ctx):
+ pass
+
+test_source = rule(
+ implementation = _test_impl,
+ attrs = {
+ "srcs": attr.label(
+ mandatory = True,
+ providers = [GoLibrary],
+ ),
+ },
+)