- integrations
- Bazel
- Reference
- Bazel
- Reference
- Rules and macros
- Rules and macros
Rules and macros
Public API of rules_ocx.
Most consumers only need the ocx module extension
(@rules_ocx//ocx:extensions.bzl). The repository rules are re-exported
here for power users composing their own extensions on top of the same
CLI-backed provisioning.
ocx_platform_constraints: Bazel constraint labels for the os/arch prefix of an ocx platform key.ocx_download: Downloads a pinned ocx CLI release for the host platform.ocx_package_hub: Multi-platform hub for an ocx.package() with platforms.ocx_package_repo: Provisions a single OCX package from an OCI registry.ocx_project_repo: Provisions the toolchain declared in a workspace ocx.toml/ocx.lock.