tree: 344038574de046718eef4e0f12177e2500a71e35 [path history] [tgz]
  1. testdata/
  2. archive.py
  3. archive_test.py
  4. BUILD
  5. build_tar.py
  6. build_test.sh
  7. path.bzl
  8. path_test.py
  9. pkg.bzl
  10. README.md
  11. testenv.py
  12. testenv.sh
tools/build_defs/pkg/README.md

Packaging for Bazel

Deprecated

These rules have been extracted from the Bazel sources and are now available at bazelbuild/rules_pkg (docs).

Issues and PRs against the built-in versions of these rules will no longer be addressed. This page will exist for reference until the code is removed from Bazel.

For more information, follow issue 8857

rules_pkg

Overview

pkg_tar() is available for building a .tar file without depending on anything besides Bazel. Since this feature is deprecated and will eventually be removed from Bazel, you should migrate to @rules_pkg.