aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/d/hello_world/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'examples/d/hello_world/BUILD')
-rw-r--r--examples/d/hello_world/BUILD7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/d/hello_world/BUILD b/examples/d/hello_world/BUILD
index 47c7342060..27e6a4e3eb 100644
--- a/examples/d/hello_world/BUILD
+++ b/examples/d/hello_world/BUILD
@@ -1,6 +1,6 @@
package(default_visibility = ["//visibility:public"])
-load("/tools/build_defs/d/d", "d_binary")
+load("/tools/build_defs/d/d", "d_binary", "d_docs")
d_binary(
name = "hello_world",
@@ -10,3 +10,8 @@ d_binary(
"//examples/d/hello_lib:native_greeter",
],
)
+
+d_docs(
+ name = "hello_world_docs",
+ dep = ":hello_world",
+)