Skip to content

0.2.1

Compare
Choose a tag to compare
@aiuto aiuto released this 05 Aug 18:49
4df77ae

New Features

  • pkg_tar now returns and OutputGroupInfo provider. This is required to comply with bazelbuild/bazel#7977

Incompatible Changes

  • pkg_tar and pkg_deb are now macros, so they can build default values for the output files. The original rules are renamed to pkg_tar_impl and pkg_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.