Release 1.0.0
Incompatible Changes
New Features
Release 0.9.0
New Features
common_settings.bzl: Standard data types for user defined build configuration. Common scalar build settings for rules to use so they don't recreate them locally. This fulfills part of the SBC design doc: https://docs.google.com/document/d/1vc8v-kXjvgZOdQdnxPTaV0rrLxtP2XwnD2tAZlYJOqw/edit#bookmark=id.iiumwic0jphr
selects.bzl: Add config_setting_group for config_setting AND/OR-chaining Implements https://github.com/bazelbuild/proposals/blob/master/designs/2018-11-09-config-setting-chaining.md.
Make sets.bzl point to new_sets.bzl instead of old_sets.bzl. new_sets.bzl and old_sets.bzl should be removed in the following skylib release.
run_binary: runs an executable as an action
New native_binary()
and native_test()
rules let you wrap a pre-built binary in a binary and test rule respectively.
diff_test: test rule compares two files and passes if the files match.
On Linux/macOS/non-Windows, the test compares files using ‘diff’.
On Windows, the test compares files using ‘fc.exe’. This utility is available on all Windows versions I tried (Windows 2008 Server, Windows 2016 Datacenter Core).
See https://github.com/bazelbuild/bazel/issues/5508, https://github.com/bazelbuild/bazel/issues/4319
maprule: move functionality to maprule_util.bzl. maprule_util.bzl will benefit planned new rules (namely a genrule alternative).
This release is tested with Bazel 0.28