Skip to content

Commit 73ce01d

Browse files
authored
Bumped up com.lihaoyi::os-lib version to 0.9.0 (#1649)
I tried to run the example but it did not work using the latest install and default configuration. The dependency version was increased to run the example successfully.
1 parent 6d7f946 commit 73ce01d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

website/docs/getting_started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@ Scala CLI reuses most of its options across all of its commands.
8686

8787
One of the main strengths of Scala is its ecosystem. Scala CLI is designed in a way to expose the Scala ecosystem to all usages of Scala, and running the REPL is no exception.
8888

89-
To demonstrate this, let's start prototyping with [os-lib](https://github.com/com-lihaoyi/os-lib) — a Scala interface to common OS filesystem and subprocess methods. To experiment with `os-lib` in the REPL, we simply need to add the parameter `--dep com.lihaoyi::os-lib:0.7.8`, as shown here:
89+
To demonstrate this, let's start prototyping with [os-lib](https://github.com/com-lihaoyi/os-lib) — a Scala interface to common OS filesystem and subprocess methods. To experiment with `os-lib` in the REPL, we simply need to add the parameter `--dep com.lihaoyi::os-lib:0.9.0`, as shown here:
9090

9191
<ChainedSnippets>
9292

9393
```bash ignore
94-
scala-cli repl --dep com.lihaoyi::os-lib:0.7.8
94+
scala-cli repl --dep com.lihaoyi::os-lib:0.9.0
9595
```
9696

9797
```scala ignore
@@ -119,7 +119,7 @@ cd scala-cli-getting-started
119119
Now we can write our logic in a file named `files.scala`:
120120

121121
```scala title=files.scala
122-
//> using lib "com.lihaoyi::os-lib:0.7.8"
122+
//> using lib "com.lihaoyi::os-lib:0.9.0"
123123

124124
def filesByExtension(
125125
extension: String,
@@ -129,7 +129,7 @@ def filesByExtension(
129129
}
130130
```
131131

132-
As you may have noticed, we specified a dependency within `files.scala` using the `//> using lib com.lihaoyi::os-lib:0.7.8` syntax. With Scala CLI, you can provide configuration information with `using` directives — a dedicated syntax that can be embedded in any `.scala` file. For more details, see our dedicated [guide for `using` directives](./guides/using-directives.md).
132+
As you may have noticed, we specified a dependency within `files.scala` using the `//> using lib com.lihaoyi::os-lib:0.9.0` syntax. With Scala CLI, you can provide configuration information with `using` directives — a dedicated syntax that can be embedded in any `.scala` file. For more details, see our dedicated [guide for `using` directives](./guides/using-directives.md).
133133

134134
Now let's check if our code compiles. We do that by running:
135135

0 commit comments

Comments
 (0)