Skip to content

Commit 330c8d9

Browse files
committed
Use sbt export instead of sbt show
1 parent 8fa00ea commit 330c8d9

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

_overviews/scala3-contribution/procedures-debugging.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,12 @@ In the `args` you need to specify the compiler arguments, which must contain at
6060

6161
To start with, we can compile the `../tests/pos/HelloWorld.scala` file.
6262
In the classpath, we always need at least the `scala-library_2.13` and the bootstrapped `scala3-library_3`.
63-
To locate them on your filesystem you can run the `show scala3-library-bootstrapped/fullClasspath` command in sbt.
63+
To locate them on your filesystem you can run the `export scala3-library-bootstrapped/fullClasspath` command in sbt.
6464

6565
```
6666
$ sbt
67-
> show scala3-library-bootstrapped/fullClasspath
68-
[info] * Attributed(/home/user/lampepfl/dotty/out/bootstrap/scala3-library-bootstrapped/scala-3.3.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes)
69-
[info] * Attributed(/home/user/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.10/scala-library-2.13.10.jar)
67+
> export scala3-library-bootstrapped/fullClasspath
68+
/home/user/lampepfl/dotty/out/bootstrap/scala3-library-bootstrapped/scala-3.3.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes:/home/user/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.10/scala-library-2.13.10.jar
7069
[success] Total time: 1 s, completed Mar 10, 2023, 4:37:43 PM
7170
```
7271

@@ -85,7 +84,6 @@ Here is the final configuration:
8584
"../tests/pos/HelloWorld.scala",
8685
"-classpath",
8786
// To replace with your own paths
88-
// On Windows you must replace all '\' by '/'.
8987
"/home/user/lampepfl/dotty/out/bootstrap/scala3-library-bootstrapped/scala-3.3.1-RC1-bin-SNAPSHOT-nonbootstrapped/classes:/home/user/.cache/coursier/v1/https/repo1.maven.org/maven2/org/scala-lang/scala-library/2.13.10/scala-library-2.13.10.jar",
9088
"-color",
9189
"never"

0 commit comments

Comments
 (0)