Skip to content

Commit eb00a49

Browse files
committed
Add missing reference docs for *.resourceDir directives
1 parent edef4bb commit eb00a49

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

modules/directives/src/main/scala/scala/build/preprocessing/directives/Resources.scala

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@ import scala.cli.commands.SpecificationLevel
1515
|
1616
|//> using resourceDirs _path1_ _path2_ …""".stripMargin,
1717
"""`//> using resourceDir` _path_
18+
|`//> using resourceDirs` _path1_ _path2_ …
1819
|
19-
|`//> using resourceDirs` _path1_ _path2_ …""".stripMargin
20+
|`//> using test.resourceDir` _path_
21+
|`//> using test.resourceDirs` _path1_ _path2_ …
22+
|
23+
|""".stripMargin
2024
)
2125
@DirectiveDescription("Manually add a resource directory to the class path")
2226
@DirectiveLevel(SpecificationLevel.SHOULD)

website/docs/reference/directives.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,9 +433,13 @@ Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`
433433
Manually add a resource directory to the class path
434434

435435
`//> using resourceDir` _path_
436-
437436
`//> using resourceDirs` _path1_ _path2_
438437

438+
`//> using test.resourceDir` _path_
439+
`//> using test.resourceDirs` _path1_ _path2_
440+
441+
442+
439443
#### Examples
440444
`//> using resourceDir ./resources`
441445

website/docs/reference/scala-command/directives.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,13 @@ Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`
256256
Manually add a resource directory to the class path
257257

258258
`//> using resourceDir` _path_
259-
260259
`//> using resourceDirs` _path1_ _path2_
261260

261+
`//> using test.resourceDir` _path_
262+
`//> using test.resourceDirs` _path1_ _path2_
263+
264+
265+
262266
#### Examples
263267
`//> using resourceDir ./resources`
264268

0 commit comments

Comments
 (0)