Skip to content

0.8.0

Compare
Choose a tag to compare
@sergiocampama sergiocampama released this 20 Mar 18:50
3721d32

New Features

  • “Analysis Test” testing framework under unittest.bzl. See documentation for details. Some new feature highlights:
    • Support for verifying rule-under-test failure conditions
    • Support for verifying actions registered by a rule-under-test
    • Support for verifying rule behavior under non-default bazel flags
  • analysis_test rule to verify that targets under test pass Bazel’s analysis phase. This is similar to the existing build_test rule, except that actions of the underlying targets are not executed. See documentation.
  • write_file rule to write UTF-8 encoded text files. (Works for bash platforms and Windows)
  • copy_file rule to copy a file to another location. (Works for bash platforms and Windows)
  • dicts.add() now accepts kwargs to add to the resulting dict.

This release is tested with Bazel 0.23

Thanks to the following external contributors:

Please use the bazel-skylib.0.8.0.tar.gz release asset from your Bazel WORKSPACE.

SHA-256 digest: 2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e

Complete list of changes