Rules for manipulation of various packaging.
Rules
pkg_tar_impl
Example usage (generated)
load("@rules_pkg//pkg:pkg.bzl", "pkg_tar_impl")
pkg_tar_impl(
# A unique name for this target.
name = "",
out = "",
)
name
A unique name for this target.
build_tar
compressor
compressor_args
deps
empty_dirs
empty_files
extension
files
include_runfiles
mode
modes
mtime
out
owner
ownername
ownernames
owners
package_base
package_dir
package_dir_file
package_file_name
See Common Attributes
package_variables
See Common Attributes
portable_mtime
private_stamp_detect
remap_paths
srcs
stamp
Enable file time stamping. Possible values:
- stamp = 1: Use the time of the build as the modification time of each file in the archive.
- stamp = 0: Use an "epoch" time for the modification time of each file. This gives good build result caching.
- stamp = -1: Control the chosen modification time using the --[no]stamp flag.