Skip to content

Commit b294878

Browse files
committed
s/stanza/snippet/g
Thanks to @bartoszkosiorek for pointing out in bazel-contrib#1703 that "stanza" isn't a common word. That was my former English Lit major innie leaking out, applying a poetry term (a group of lines, like a paragraph) out of context.
1 parent 403d7ed commit b294878

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

+10-9
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ Bazel version.
3939
[Install Bazel]: https://docs.bazel.build/versions/master/install.html
4040
[Bazelisk]: https://docs.bazel.build/versions/master/install.html
4141

42-
Add the following stanza to your `WORKSPACE` file and update versions with their
43-
sha256s if needed. This stanza is designed to ensure that users pick up the
44-
correct order of dependencies for `rules_scala`. If you want to override any of
45-
the following dependency versions, make sure to `load()` them before calling
46-
`rules_scala_dependencies()`.
42+
Add the following configuration snippet to your `WORKSPACE` file and update
43+
versions with their sha256s if needed. This snippet is designed to ensure that
44+
users pick up the correct order of dependencies for `rules_scala`. If you want
45+
to override any of the following dependency versions, make sure to `load()` them
46+
before calling `rules_scala_dependencies()`.
4747

4848
As of version 7.0.0, __`rules_scala` no longer requires the
4949
`io_bazel_rules_scala` repository name__ unless your `BUILD` files or those of
@@ -372,7 +372,7 @@ These macros no longer exist:
372372
- `specs2_version()`
373373
- `twitter_scrooge()`
374374

375-
Replace toolchain stanzas like the following:
375+
Replace toolchain configurations like the following:
376376

377377
```py
378378
load(
@@ -420,8 +420,8 @@ load("@rules_scala//scala:deps.bzl", "rules_scala_dependencies")
420420
421421
rules_scala_dependencies()
422422
423-
# See the `WORKSPACE` stanza from the "Getting started" section above
424-
# for other dependency declarations.
423+
# See the `WORKSPACE` configuration snippet from the "Getting started" section
424+
# above for other dependency declarations.
425425

426426
load("@rules_scala//:scala_config.bzl", "scala_config")
427427

@@ -488,7 +488,8 @@ toolchains that you want to take precedence over the toolchains configured by
488488

489489
The upcoming Bzlmod implementation will funnel through the `scala_toolchains()`
490490
macro as well, ensuring maximum compatibility with `WORKSPACE` configurations.
491-
The equivalent Bzlmod stanza for the `scala_toolchains()` stanza above would be:
491+
The equivalent Bzlmod configuration for the `scala_toolchains()` configuration
492+
above would be:
492493

493494
```py
494495
bazel_dep(name = "rules_scala", version = "7.0.0")

0 commit comments

Comments
 (0)