Update dependency bazel_skylib to v0.9.0 #77
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.6.0
->0.9.0
Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
bazelbuild/bazel-skylib (bazel_skylib)
v0.9.0
Compare Source
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/HEAD/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
desired arguments, environment, inputs, and outputs, as a single build
action, without shelling out to Bash.
New
native_binary()
andnative_test()
rules let you wrap a pre-builtbinary in a binary and test rule respectively.
interface. Rules like genrule can tool-depend on it, and it can be
executed with "bazel run". This rule can also augment the binary with
runfiles.
binary rule.
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/43194319
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
v0.8.0
Compare Source
New Features
analysis_test
rule to verify that targets under test pass Bazel’s analysis phase. This is similar to the existingbuild_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 BazelWORKSPACE
.SHA-256 digest:
2ef429f5d7ce7111263289644d233707dba35e39696377ebab8b0bc701f7818e
[Complete list of changes](
v0.7.0
Compare Source
Incompatible Changes
unittest.bzl
requiring minor migration effort:Test implementation functions for this framework now must return the result of
unittest.end(env)
instead of simply invoking this method. That is:def _your_test(ctx):
env = unittest.begin(ctx)
Assert statements go here
Assert statements go here
New Features
Added Windows support for
unittest.bzl
.Added maprule rules (
cmd_maprule
andbash_maprule
under//rules/maprule.bzl
for Windows and bash support, respectively)Added a
build_test
rule (build_test
under//rules/build_test.bzl
) to create test targets that verify that other targets build. Note that this rule does not currently work on Windows (though support for Windows shall come at a later time).Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.