2
0
Fork 0
mirror of https://github.com/bazel-contrib/bazel-lib synced 2024-11-30 01:41:21 +00:00
bazel-lib/docs/BUILD.bazel
Alex Eagle a283a8216d feat: add a tar toolchain (#468)
* 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>
2023-10-03 13:50:55 -07:00

157 lines
3.1 KiB
Python

# These loads are in the docs/ package rather than anything users depend on
# so that the dependency on stardoc doesn't leak to them.
load("//lib:docs.bzl", "stardoc_with_diff_test", "update_docs")
stardoc_with_diff_test(
name = "copy_file",
bzl_library_target = "//lib:copy_file",
)
stardoc_with_diff_test(
name = "copy_directory",
bzl_library_target = "//lib:copy_directory",
)
stardoc_with_diff_test(
name = "copy_to_directory",
bzl_library_target = "//lib:copy_to_directory",
)
stardoc_with_diff_test(
name = "copy_to_bin",
bzl_library_target = "//lib:copy_to_bin",
)
stardoc_with_diff_test(
name = "docs",
bzl_library_target = "//lib:docs",
)
stardoc_with_diff_test(
name = "diff_test",
bzl_library_target = "//lib:diff_test",
)
stardoc_with_diff_test(
name = "expand_make_vars",
bzl_library_target = "//lib:expand_make_vars",
)
stardoc_with_diff_test(
name = "expand_template",
bzl_library_target = "//lib:expand_template",
)
stardoc_with_diff_test(
name = "params_file",
bzl_library_target = "//lib:params_file",
func_template = "//docs/templates:func_html.vm",
)
stardoc_with_diff_test(
name = "paths",
bzl_library_target = "//lib:paths",
)
stardoc_with_diff_test(
name = "lists",
bzl_library_target = "//lib:lists",
)
stardoc_with_diff_test(
name = "tar",
bzl_library_target = "//lib:tar",
)
stardoc_with_diff_test(
name = "utils",
bzl_library_target = "//lib:utils",
)
stardoc_with_diff_test(
name = "jq",
bzl_library_target = "//lib:jq",
)
stardoc_with_diff_test(
name = "write_source_files",
bzl_library_target = "//lib:write_source_files",
)
stardoc_with_diff_test(
name = "directory_path",
bzl_library_target = "//lib:directory_path",
)
stardoc_with_diff_test(
name = "output_files",
bzl_library_target = "//lib:output_files",
)
stardoc_with_diff_test(
name = "run_binary",
bzl_library_target = "//lib:run_binary",
)
stardoc_with_diff_test(
name = "transitions",
bzl_library_target = "//lib:transitions",
)
stardoc_with_diff_test(
name = "repo_utils",
bzl_library_target = "//lib:repo_utils",
)
stardoc_with_diff_test(
name = "yq",
bzl_library_target = "//lib:yq",
)
stardoc_with_diff_test(
name = "glob_match",
bzl_library_target = "//lib:glob_match",
)
stardoc_with_diff_test(
name = "host_repo",
bzl_library_target = "//lib:host_repo",
)
stardoc_with_diff_test(
name = "platform_utils",
bzl_library_target = "//lib:platform_utils",
)
stardoc_with_diff_test(
name = "stamping",
bzl_library_target = "//lib:stamping",
)
stardoc_with_diff_test(
name = "testing",
bzl_library_target = "//lib:testing",
)
stardoc_with_diff_test(
name = "base64",
bzl_library_target = "//lib:base64",
)
stardoc_with_diff_test(
name = "repositories",
bzl_library_target = "//lib:repositories",
)
stardoc_with_diff_test(
name = "bazelrc_presets",
bzl_library_target = "//lib:bazelrc_presets",
)
stardoc_with_diff_test(
name = "strings",
bzl_library_target = "//lib:strings",
)
update_docs()