Skip to content

Commit

Permalink
Add MODULE.bazel and //stardoc/private to distro tarball (#154)
Browse files Browse the repository at this point in the history
Needed for a bzlmod-compatible release
  • Loading branch information
tetromino authored May 16, 2023
1 parent 9c834ae commit 8cd9ecf
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ filegroup(
"CHANGELOG.md",
"CONTRIBUTORS",
"LICENSE",
"MODULE.bazel",
"//stardoc:distro_srcs",
"//stardoc/private:distro_srcs",
"//stardoc/proto:distro_srcs",
] + glob(["*.bzl"]),
visibility = ["//:__subpackages__"],
Expand Down
11 changes: 11 additions & 0 deletions stardoc/private/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,14 @@ bzl_library(
srcs = ["stardoc.bzl"],
visibility = ["//stardoc:__pkg__"],
)

# Sources needed for release tarball.
filegroup(
name = "distro_srcs",
srcs = [
"BUILD",
] + glob([
"*.bzl",
]),
visibility = ["//:__pkg__"],
)

0 comments on commit 8cd9ecf

Please sign in to comment.