fmeum / buildozer

Pinned, prebuilt versions of buildozer for Bazel projects
MIT License
3 stars 0 forks source link

Make `buildozer_binary` extension platform-independent #8

Closed fmeum closed 7 months ago

fmeum commented 7 months ago

The load from @local_config_platform//:constraints.bzl made the repo rule and thus the extension platform-dependent. Instead of marking it so and thus making lockfile maintenance more difficult, get rid of the load-time platform dependence by using rctx.os directly.

Also mark the repository rule as configure in preparation of https://github.com/bazelbuild/bazel/commit/1b0a2a12ff3388a850069763d7c38155b111edbf.