tweag / rules_sh

Shell rules for Bazel
Apache License 2.0
42 stars 3 forks source link

"Modularize" rules_sh #18

Closed aherrmann closed 2 years ago

aherrmann commented 2 years ago

For compatibility with bzlmod and addition to the https://github.com/bazelbuild/bazel-central-registry.

This version has been added to the BCR in https://github.com/bazelbuild/bazel-central-registry/pull/38 already. The changes introduced by this PR are so that future versions will no longer require patching to be added to the BCR.

Adds a module rule sh_configure for the POSIX toolchain configured by sh_posix_configure. Module rules may invoke repository rules, but may not register toolchains. This commit adds a boolean parameter register to sh_posix_configure for compatibility with both the old repository rule workflow and the new module workflow.

Adds instructions for creating new Bazel Central Registry entries to MAINTAINERS.md.

Extends CI configuration to test with bzlmod enabled.

aherrmann commented 2 years ago

@Mergifyio refresh

mergify[bot] commented 2 years ago

refresh

✅ Pull request refreshed