You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aid="pkg_tar-compressor"></a>compressor | External tool which can compress the archive. | <ahref="https://bazel.build/docs/build-ref.html#labels">Label</a> | optional | None |
277
+
| <aid="pkg_tar-compressor_args"></a>compressor_args | Arg list for <code>compressor</code>. | String | optional | "" |
278
+
| <aid="pkg_tar-deps"></a>deps | tar files which will be unpacked and repacked into the archive. | <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
280
279
| <aid="pkg_tar-empty_dirs"></a>empty_dirs | - | List of strings | optional |[]|
281
280
| <aid="pkg_tar-empty_files"></a>empty_files | - | List of strings | optional |[]|
| <aid="pkg_tar-package_dir"></a>package_dir | Prefix to be prepend to all paths written.The name may contain variables, same as [package_file_name](#package_file_name)| String | optional | "" |
292
+
| <aid="pkg_tar-package_dir"></a>package_dir | Prefix to be prepend to all paths written.<br><br> This is applied as a final step, while writing to the archive. Any other attributes (e.g. symlinks) which specify a path, must do so relative to package_dir. The value may contain variables. See [package_file_name](#package_file_name) for examples.| String | optional | "" |
| <aid="pkg_tar-srcs"></a>srcs |-| <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
299
+
| <aid="pkg_tar-srcs"></a>srcs |Inputs which will become part of the tar archive.| <ahref="https://bazel.build/docs/build-ref.html#labels">List of labels</a> | optional |[]|
301
300
| <aid="pkg_tar-stamp"></a>stamp | Enable file time stamping. Possible values: <li>stamp = 1: Use the time of the build as the modification time of each file in the archive. <li>stamp = 0: Use an "epoch" time for the modification time of each file. This gives good build result caching. <li>stamp = -1: Control the chosen modification time using the --[no]stamp flag. <divclass="since"><i>Since 0.5.0</i></div> | Integer | optional | 0 |
302
301
| <aid="pkg_tar-strip_prefix"></a>strip_prefix | (note: Use strip_prefix = "." to strip path to the package but preserve relative paths of sub directories beneath the package.) | String | optional | "" |
0 commit comments