Skip to content

Commit b169954

Browse files
committed
Update README.md
add note about using prelude
1 parent 5e76791 commit b169954

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ load("@io_bazel_rules_scala//scala:scala.bzl", "scala_repositories")
2828
scala_repositories()
2929
```
3030

31+
You may wish to have these rules loaded by default using bazel's prelude. Add the line:
32+
```
33+
load("@io_bazel_rules_scala//scala:scala.bzl", "scala_library", "scala_binary", "scala_test")
34+
```
35+
to the file `tools/build_rules/prelude_bazel` in your repo.
36+
3137
[scala]: http://www.scala-lang.org/
3238

3339
<a name="scala_library"></a>

0 commit comments

Comments
 (0)