Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import scala.cli.commands.SpecificationLevel
@DirectiveGroupName("Repository")
@DirectiveExamples("//> using repository jitpack")
@DirectiveExamples("//> using repository sonatype:snapshots")
@DirectiveExamples("//> using repository ivy2Local")
@DirectiveExamples("//> using repository m2Local")
@DirectiveExamples(
"//> using repository https://maven-central.storage-download.googleapis.com/maven2"
Expand Down Expand Up @@ -38,5 +39,5 @@ object Repository {
val usageMsg =
"""Add repositories for dependency resolution.
|
|Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository""".stripMargin
|Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository""".stripMargin
}
2 changes: 1 addition & 1 deletion website/docs/reference/cli-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ Aliases: `-r`, `--repo`

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

### `--compiler-plugin`

Expand Down
4 changes: 3 additions & 1 deletion website/docs/reference/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ Enable Python support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

`//> using repository` _repository_

Expand All @@ -466,6 +466,8 @@ Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`

`//> using repository sonatype:snapshots`

`//> using repository ivy2Local`

`//> using repository m2Local`

`//> using repository https://maven-central.storage-download.googleapis.com/maven2`
Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/scala-command/cli-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Aliases: `-r`, `--repo`

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

### `--compiler-plugin`

Expand Down
4 changes: 3 additions & 1 deletion website/docs/reference/scala-command/directives.md
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ Set the default platform to Scala.js or Scala Native

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

`//> using repository` _repository_

Expand All @@ -282,6 +282,8 @@ Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`

`//> using repository sonatype:snapshots`

`//> using repository ivy2Local`

`//> using repository m2Local`

`//> using repository https://maven-central.storage-download.googleapis.com/maven2`
Expand Down
18 changes: 9 additions & 9 deletions website/docs/reference/scala-command/runner-specification.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down Expand Up @@ -1010,7 +1010,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down Expand Up @@ -1605,7 +1605,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down Expand Up @@ -2226,7 +2226,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down Expand Up @@ -2866,7 +2866,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down Expand Up @@ -3482,7 +3482,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down Expand Up @@ -4135,7 +4135,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down Expand Up @@ -4848,7 +4848,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down Expand Up @@ -5817,7 +5817,7 @@ Enable/disable Scala Native multithreading support

Add repositories for dependency resolution.

Accepts predefined repositories supported by Coursier (like `sonatype:snapshots` or `m2Local`) or a URL of the root of Maven repository
Accepts predefined repositories supported by Coursier (like `sonatype:snapshots`, `ivy2Local` or `m2Local`) or a URL of the root of Maven repository

Aliases: `-r` ,`--repo`

Expand Down