Skip to content

Commit

Permalink
Explicitly export def.bzl file for stardoc
Browse files Browse the repository at this point in the history
Stardoc has a longstanding issue where you have to refer to an
entrypoint for it's scan and that *must* be a specific file.
  • Loading branch information
achew22 committed Aug 27, 2020
1 parent e0de34c commit cbbba90
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions go/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ toolchain_type(
visibility = ["//visibility:public"],
)

# Exported so the docs can live in another dir.
# https://github.com/bazelbuild/stardoc/issues/57
exports_files(["def.bzl"])

bzl_library(
name = "def",
srcs = ["def.bzl"],
Expand Down

0 comments on commit cbbba90

Please sign in to comment.