Skip to content

Commit 70dbf7c

Browse files
committed
in Toolkit sbt example, use flat single-project style
1 parent f767949 commit 70dbf7c

File tree

4 files changed

+10
-21
lines changed

4 files changed

+10
-21
lines changed

_includes/_markdown/install-munit.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,11 @@ Alternatively, you can require just a specific version of MUnit:
1616
{% tab 'sbt' %}
1717
In your build.sbt file, you can add the dependency on toolkit-test:
1818
```scala
19-
lazy val example = project.in(file("example"))
20-
.settings(
21-
scalaVersion := "3.2.2",
22-
libraryDependencies += "org.scala-lang" %% "toolkit-test" % "0.1.7" % Test
23-
)
19+
scalaVersion := "3.2.2"
20+
libraryDependencies += "org.scala-lang" %% "toolkit-test" % "0.1.7" % Test
2421
```
25-
Here the `Test` configuration means that the dependency is only used by the source files in `example/src/test`.
22+
23+
Here the `Test` configuration means that the dependency is only used by the source files in `src/test`.
2624

2725
Alternatively, you can require just a specific version of MUnit:
2826
```scala

_includes/_markdown/install-os-lib.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ Alternatively, you can require just a specific version of OS-Lib:
1515
{% tab 'sbt' %}
1616
In your `build.sbt`, you can add a dependency on the toolkit:
1717
```scala
18-
lazy val example = project.in(file("example"))
19-
.settings(
20-
scalaVersion := "3.2.2",
21-
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
22-
)
18+
scalaVersion := "3.2.2"
19+
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
2320
```
2421
Alternatively, you can require just a specific version of OS-Lib:
2522
```scala

_includes/_markdown/install-sttp.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ Alternatively, you can require just a specific version of sttp:
1515
{% tab 'sbt' %}
1616
In your build.sbt file, you can add a dependency on the Toolkit:
1717
```scala
18-
lazy val example = project.in(file("example"))
19-
.settings(
20-
scalaVersion := "3.2.2",
21-
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
22-
)
18+
scalaVersion := "3.2.2"
19+
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7
2320
```
2421
2522
Alternatively, you can require just a specific version of sttp:

_includes/_markdown/install-upickle.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,8 @@ Alternatively, you can require just a specific version of UPickle:
1515
{% tab 'sbt' %}
1616
In your build.sbt file, you can add the dependency on the Toolkit:
1717
```scala
18-
lazy val example = project.in(file("example"))
19-
.settings(
20-
scalaVersion := "3.2.2",
21-
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
22-
)
18+
scalaVersion := "3.2.2"
19+
libraryDependencies += "org.scala-lang" %% "toolkit" % "0.1.7"
2320
```
2421
Alternatively, you can require just a specific version of UPickle:
2522
```scala

0 commit comments

Comments
 (0)