1.7.0
Release 1.7.0
New features
- Implement
directory
rules by @matts1 in #510 - Add
is_normalized
andstarts_with
to paths module by @comius in #514
New Contributors
Full Changelog: 1.6.1...1.7.0
MODULE.bazel setup
bazel_dep(name = "bazel_skylib", version = "1.7.0")
# If the Gazelle plugin is needed:
bazel_dep(name = "bazel_skylib_gazelle_plugin", version = "1.7.0", dev_dependency = True)
WORKSPACE setup
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "bazel_skylib",
sha256 = "d00f1389ee20b60018e92644e0948e16e350a7707219e7a390fb0a99b6ec9262",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.0/bazel-skylib-1.7.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.0/bazel-skylib-1.7.0.tar.gz",
],
)
load("@bazel_skylib//:workspace.bzl", "bazel_skylib_workspace")
bazel_skylib_workspace()
Additional WORKSPACE setup for the Gazelle plugin
http_archive(
name = "bazel_skylib_gazelle_plugin",
sha256 = "2e4a533f7a303076a5d43191b3696c071b9bc0020eb00ec07c3e02bd9ce3093d",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/1.7.0/bazel-skylib-gazelle-plugin-1.7.0.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/releases/download/1.7.0/bazel-skylib-gazelle-plugin-1.7.0.tar.gz",
],
)
load("@bazel_skylib_gazelle_plugin//:workspace.bzl", "bazel_skylib_gazelle_plugin_workspace")
bazel_skylib_gazelle_plugin_workspace()
load("@bazel_skylib_gazelle_plugin//:setup.bzl", "bazel_skylib_gazelle_plugin_setup")
bazel_skylib_gazelle_plugin_setup()
Using the rules
See the source.