mirror of
https://github.com/bazel-contrib/bazel-lib
synced 2024-12-02 10:15:22 +00:00
a283a8216d
* feat: add a BSD tar toolchain @thesayyn discovered that it has a feature which should make it a drop-in replacement for pkg_tar including fine-grained file permissions and symlinks: https://man.freebsd.org/cgi/man.cgi?mtree(8) * show example of mtree usage * feat: introduce tar rule * cleanup and get test passing * more cleanup * chore: add support for compress flags * chore: add docs * chore: add docs * feat: implement linux bsdtar toolchain (#566) * chore: improve target naming * WIP: args * feat: generate mtree spec Also allow arbitrary args * refactor: mtree is required * refactor: style nits * fix: support mix of source and generated artifacts * feat: demonstrate strip_prefix * chore: regen docs * fix: make host toolchain a fallback toolchain * fix: include libarchive13.so when installing BSD tar * chore: buildifier * fix: aarch64 cpu constraint * fix(ci): include libarchive13.so when running tar * chore: add libnettle * refactor: inputs mutated less * refactor: remove unneeded substitution arg * refactor: don't advertise unsupported modes * fix: hack enough to make it run on my machine * chore: dynamic libraries included in sh_binary under toolchain * make sh_binary work * refactor: drop arm64 for now * fix toolchain * fix test * chore: improve test naming scheme --------- Co-authored-by: Sahin Yort <thesayyn@gmail.com>
6.8 KiB
Generated
6.8 KiB
Generated
Macros for loading dependencies and registering toolchains
aspect_bazel_lib_dependencies
aspect_bazel_lib_dependencies(override_local_config_platform)
Load dependencies required by aspect rules
PARAMETERS
register_copy_directory_toolchains
register_copy_directory_toolchains(name, register)
Registers copy_directory toolchain and repositories
PARAMETERS
register_copy_to_directory_toolchains
register_copy_to_directory_toolchains(name, register)
Registers copy_to_directory toolchain and repositories
PARAMETERS
register_coreutils_toolchains
register_coreutils_toolchains(name, version, register)
Registers coreutils toolchain and repositories
PARAMETERS
Name | Description | Default Value |
---|---|---|
name | override the prefix for the generated toolchain repositories | "coreutils" |
version | the version of coreutils to execute (see https://github.com/uutils/coreutils/releases) | "0.0.16" |
register | whether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extension | True |
register_expand_template_toolchains
register_expand_template_toolchains(name, register)
Registers expand_template toolchain and repositories
PARAMETERS
register_jq_toolchains
register_jq_toolchains(name, version, register)
Registers jq toolchain and repositories
PARAMETERS
Name | Description | Default Value |
---|---|---|
name | override the prefix for the generated toolchain repositories | "jq" |
version | the version of jq to execute (see https://github.com/stedolan/jq/releases) | "1.7" |
register | whether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extension | True |
register_tar_toolchains
register_tar_toolchains(name, register)
Registers bsdtar toolchain and repositories
PARAMETERS
register_yq_toolchains
register_yq_toolchains(name, version, register)
Registers yq toolchain and repositories
PARAMETERS
Name | Description | Default Value |
---|---|---|
name | override the prefix for the generated toolchain repositories | "yq" |
version | the version of yq to execute (see https://github.com/mikefarah/yq/releases) | "4.25.2" |
register | whether to call through to native.register_toolchains. Should be True for WORKSPACE users, but false when used under bzlmod extension | True |