Skip to content

Commit 24193c5

Browse files
authored
Merge pull request #396 from keynmol/update-classpath-docs
2 parents 55e64ce + 298dcca commit 24193c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/installation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -136,12 +136,12 @@ info: Compiled in 1.2s (0 errors)
136136

137137
### Add library dependencies to classpath
138138

139-
Add libraries to the launched classpath to include them for compilation.
139+
Use the `--classpath` argument to change the classpath used for compilation:
140140

141141
```diff
142142
coursier launch \
143-
org.scalameta:mdoc_@SCALA_BINARY_VERSION@:@VERSION@ \
144-
+ org.typelevel:cats-core_@SCALA_BINARY_VERSION@:1.5.0
143+
org.scalameta:mdoc_@SCALA_BINARY_VERSION@:@VERSION@ -- \
144+
+ --classpath $(coursier fetch -p org.typelevel:cats-core_@SCALA_BINARY_VERSION@:1.5.0)
145145
```
146146

147147
### Customize input directory

0 commit comments

Comments
 (0)