File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 4
4
{% tab 'Scala CLI' %}
5
5
You can require the entire toolkit in a single line:
6
6
``` scala
7
- //> using toolkit " latest"
7
+ //> using toolkit latest
8
8
```
9
- ** However, munit won't be available in your script right away.**
9
+ ** However, MUnit won't be available in your script right away.**
10
10
MUnit will be available in the test scope sources only.
11
11
To write a source file in the test scope, you can either put it in a ` test ` directory,
12
12
or change its name to end with ` .test.scala ` . You can also use a dedicated directive to set the scope of your file.
13
13
Learn more in the [ Scala CLI documentation on tests] ( https://scala-cli.virtuslab.org/docs/commands/test/ ) .
14
14
15
15
Alternatively, you can require just a specific version of MUnit:
16
16
``` scala
17
- //> using dep " org.scalameta::munit:1.0.0-M7"
17
+ //> using dep org.scalameta::munit:1.0.0-M7
18
18
```
19
19
{% endtab %}
20
20
{% tab 'sbt' %}
Original file line number Diff line number Diff line change 4
4
{% tab 'Scala CLI' %}
5
5
You can require the entire toolkit in a single line:
6
6
``` scala
7
- //> using toolkit " latest"
7
+ //> using toolkit latest
8
8
```
9
9
10
10
Alternatively, you can require just a specific version of OS-Lib:
11
11
``` scala
12
- //> using dep " com.lihaoyi::os-lib:0.9.1"
12
+ //> using dep com.lihaoyi::os-lib:0.9.1
13
13
```
14
14
{% endtab %}
15
15
{% tab 'sbt' %}
Original file line number Diff line number Diff line change 4
4
{% tab 'Scala CLI' %}
5
5
You can require the entire toolkit in a single line:
6
6
``` scala
7
- //> using toolkit " latest"
7
+ //> using toolkit latest
8
8
```
9
9
10
10
Alternatively, you can require just a specific version of sttp:
11
11
``` 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
13
13
```
14
14
{% endtab %}
15
15
{% tab 'sbt' %}
Original file line number Diff line number Diff line change 4
4
{% tab 'Scala CLI' %}
5
5
Using Scala CLI, you can require the entire toolkit in a single line:
6
6
``` scala
7
- //> using toolkit " latest"
7
+ //> using toolkit latest
8
8
```
9
9
10
10
Alternatively, you can require just a specific version of UPickle:
11
11
``` scala
12
- //> using dep " com.lihaoyi::upickle:3.1.0
12
+ //> using dep com.lihaoyi::upickle:3.1.0
13
13
```
14
14
{% endtab %}
15
15
{% tab 'sbt' %}
You can’t perform that action at this time.
0 commit comments