- integrations
- Bazel
- Reference
- Bazel
- Reference
- Rules and macros
- ocx_package_hub
ocx_package_hub
ocx_package_hub
Section titled “ocx_package_hub”
load("@rules_ocx//ocx:defs.bzl", "ocx_package_hub")
ocx_package_hub(name, bins, platform_reals, platform_repos)
Multi-platform hub for an ocx.package() with platforms.
//:content (or, with bins, each named launcher) select()s the
per-platform package repo matching the target platform — combine with a
platform transition to fetch foreign-platform tools (e.g. for container
images).
ATTRIBUTES