0.2.1
New Features
pkg_tar
now returns and OutputGroupInfo provider. This is required to comply with bazelbuild/bazel#7977
Incompatible Changes
pkg_tar
andpkg_deb
are now macros, so they can build default values for the output files. The original rules are renamed topkg_tar_impl
andpkg_deb_impl
respectively.
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "rules_pkg",
url = "https://github.com/bazelbuild/rules_pkg/releases/download/0.2.1/rules_pkg-0.2.1.tar.gz",
sha256 = "04c1eab736f508e94c297455915b6371432cbc4106765b5252b444d1656db051",
)
load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
rules_pkg_dependencies()
Using the rules
See the source.