Skip to content

Commit 053d124

Browse files
committed
Unify using only dep instead of lib in docs
1 parent 83bc7bc commit 053d124

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/commands/compile.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,11 @@ For example, to exclude all files in the `example/scala` directory, add the foll
489489
Compile-only dependencies, allow to include certain libraries exclusively at the time of the compilation. These
490490
dependencies are added to the class path during compilation, but won't be included when the application is run.
491491

492-
To declare a compile-only dependency, you should use the `compileOnly.lib` directive or `--compile-lib` command line
492+
To declare a compile-only dependency, you should use the `compileOnly.dep` directive or `--compile-lib` command line
493493
option. For instance, to include the `jsoniter-scala-macros` library at compile-time, you would use:
494494

495495
```scala title=CompileOnly.scala
496-
//> using compileOnly.lib "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2"
496+
//> using compileOnly.dep "com.github.plokhotnyuk.jsoniter-scala::jsoniter-scala-macros:2.23.2"
497497
```
498498

499499
or by using the `--compile-lib` command line option:

0 commit comments

Comments
 (0)