bazelbuild / stardoc

Stardoc: Starlark Documentation Generator
Apache License 2.0
107 stars 42 forks source link

Do not emit rules_pkg dep in distro tarball's MODULE.bazel #214

Closed tetromino closed 3 months ago

tetromino commented 5 months ago

Since we don't include anything from //distro/... in the distro tarball itself. Note that skylib's distro packaging follows the same logic.

tetromino commented 3 months ago

@brandjon - in case it's not clear, ### INTERNAL ONLY is a magic string which will cause everything below to be stripped out in the version of MODULE.bazel that gets shipped in release tarballs. See https://github.com/bazelbuild/stardoc/blob/master/distro/distro.bzl and https://github.com/bazelbuild/stardoc/blob/master/distro/BUILD#L15