-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from SethTisue/modern-syntax
use modern scala-cli syntax everywhere
- Loading branch information
Showing
13 changed files
with
34 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
//> using scala "2.13", "3" | ||
//> using publish.name "toolkit" | ||
//> using lib "com.softwaremill.sttp.client4::core::4.0.0-M1" | ||
//> using lib "com.softwaremill.sttp.client4::upickle::4.0.0-M1" | ||
//> using lib "com.lihaoyi::upickle::3.1.0" | ||
//> using scala 2.13, 3 | ||
//> using publish.name toolkit | ||
//> using dep com.softwaremill.sttp.client4::core::4.0.0-M1 | ||
//> using dep com.softwaremill.sttp.client4::upickle::4.0.0-M1 | ||
//> using dep com.lihaoyi::upickle::3.1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
//> using scala "2.13", "3" | ||
//> using publish.name "toolkit" | ||
//> using lib "com.softwaremill.sttp.client4::core::4.0.0-M1" | ||
//> using lib "com.softwaremill.sttp.client4::upickle::4.0.0-M1" | ||
//> using lib "com.lihaoyi::upickle::3.1.0" | ||
//> using lib "com.lihaoyi::os-lib::0.9.1" | ||
//> using scala 2.13, 3 | ||
//> using publish.name toolkit | ||
//> using dep com.softwaremill.sttp.client4::core::4.0.0-M1 | ||
//> using dep com.softwaremill.sttp.client4::upickle::4.0.0-M1 | ||
//> using dep com.lihaoyi::upickle::3.1.0 | ||
//> using dep com.lihaoyi::os-lib::0.9.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
//> using scala "2.13", "3" | ||
//> using publish.name "toolkit-test" | ||
//> using lib "org.scalameta::munit::1.0.0-M7" | ||
//> using scala 2.13, 3 | ||
//> using publish.name toolkit-test | ||
//> using dep org.scalameta::munit::1.0.0-M7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//> using toolkit "latest" | ||
//> using toolkit latest | ||
|
||
val text = os.read(os.pwd / "resources" / "File.txt") | ||
println(text) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//> using toolkit "latest" | ||
//> using toolkit latest | ||
|
||
import upickle.default._ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//> using toolkit "latest" | ||
//> using toolkit latest | ||
|
||
import upickle.default._ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//> using toolkit "latest" | ||
//> using toolkit latest | ||
|
||
import sttp.client4.quick.* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//> using toolkit "latest" | ||
//> using toolkit latest | ||
|
||
import sttp.client4.quick.* | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
//> using publish.organization "org.scala-lang" | ||
//> using publish.computeVersion "git:tag" | ||
//> using publish.url "https://github.com/scala/toolkit" | ||
//> using publish.vcs "github:scala/toolkit" | ||
//> using publish.license "Apache-2.0" | ||
//> using publish.repository "central" | ||
//> using publish.organization org.scala-lang | ||
//> using publish.computeVersion git:tag | ||
//> using publish.url https://github.com/scala/toolkit | ||
//> using publish.vcs github:scala/toolkit | ||
//> using publish.license Apache-2.0 | ||
//> using publish.repository central | ||
//> using publish.developer "szymon-rd|Simon R|https://github.com/szymon-rd" | ||
//> using publish.developer "adpi2|Adrien Piquerez|https://github.com/adpi2" | ||
//> using repository "sonatype:public" | ||
//> using repository sonatype:public |