Skip to content

Commit 3644d11

Browse files
szymon-rdadpi2
andauthored
Change installing munit to reflect changes in scala-cli (#2811)
* Change installing munit to reflect changes in scala-cli * Adjust directives syntax * script -> source * Fix wording * Update _includes/_markdown/install-munit.md --------- Co-authored-by: adpi2 <[email protected]>
1 parent b4ce6a6 commit 3644d11

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

_includes/_markdown/install-munit.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
{% tab 'Scala CLI' %}
55
You can require the entire toolkit in a single line:
66
```scala
7-
//> using dep "org.scala-lang::toolkit-test:0.1.7"
7+
//> using toolkit latest
88
```
9+
MUnit, being a testing framework, is only available in test files: files in a `test` directory or ones that have the `.test.scala` extension. Refer to the [Scala CLI documentation](https://scala-cli.virtuslab.org/docs/commands/test/) to learn more about the test scope.
910

1011
Alternatively, you can require just a specific version of MUnit:
1112
```scala
12-
//> using dep "org.scalameta::munit:1.0.0-M7"
13+
//> using dep org.scalameta::munit:1.0.0-M7
1314
```
1415
{% endtab %}
1516
{% tab 'sbt' %}

_includes/_markdown/install-os-lib.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{% tab 'Scala CLI' %}
55
You can require the entire toolkit in a single line:
66
```scala
7-
//> using toolkit "latest"
7+
//> using toolkit latest
88
```
99

1010
Alternatively, you can require just a specific version of OS-Lib:
1111
```scala
12-
//> using dep "com.lihaoyi::os-lib:0.9.1"
12+
//> using dep com.lihaoyi::os-lib:0.9.1
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}

_includes/_markdown/install-sttp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{% tab 'Scala CLI' %}
55
You can require the entire toolkit in a single line:
66
```scala
7-
//> using toolkit "latest"
7+
//> using toolkit latest
88
```
99

1010
Alternatively, you can require just a specific version of sttp:
1111
```scala
12-
//> using dep "com.softwaremill.sttp.client4::core:4.0.0-M1"
12+
//> using dep com.softwaremill.sttp.client4::core:4.0.0-M1
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}

_includes/_markdown/install-upickle.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{% tab 'Scala CLI' %}
55
Using Scala CLI, you can require the entire toolkit in a single line:
66
```scala
7-
//> using toolkit "latest"
7+
//> using toolkit latest
88
```
99

1010
Alternatively, you can require just a specific version of UPickle:
1111
```scala
12-
//> using dep "com.lihaoyi::upickle:3.1.0
12+
//> using dep com.lihaoyi::upickle:3.1.0
1313
```
1414
{% endtab %}
1515
{% tab 'sbt' %}

0 commit comments

Comments
 (0)