Skip to content

Commit

Permalink
v0.10.6
Browse files Browse the repository at this point in the history
  • Loading branch information
philwalk committed Jan 10, 2024
1 parent d7a1d47 commit 4ab1f2f
Show file tree
Hide file tree
Showing 30 changed files with 2,145 additions and 468 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Provides support for expressive idioms typical of scripting languages, for writi

To use `pallet` in an `SBT` project, add this dependency to `build.sbt`
```sbt
"org.vastblue" % "pallet_3" % "0.10.4"
"org.vastblue" % "pallet_3" % "0.10.6"
```
For `scala` or `scala-cli` scripts, see examples below.

Expand All @@ -35,7 +35,7 @@ Simplicity and Universal Portability:
```scala
#!/usr/bin/env -S scala-cli shebang

//> using lib "org.vastblue::pallet::0.10.4"
//> using lib "org.vastblue::pallet::0.10.6"
import vastblue.pallet.*

printf("uname / osType / osName:\n%s\n", s"platform info: ${unameLong} / ${osType} / ${osName}")
Expand Down Expand Up @@ -226,7 +226,7 @@ Some differences to be aware of between `scala-cli` scripts and conventional `sc
For a per-user classpath `atFile`, define your classpath in a file named, e.g., `/Users/username/.scala3cp`.
To include the `scala3` version of this library, for example, the `@file` might contain:
```
-classpath /Users/username/.ivy2/local/org.vastblue/pallet_3/0.10.4/jars/pallet_3.jar
-classpath /Users/username/.ivy2/local/org.vastblue/pallet_3/0.10.6/jars/pallet_3.jar
```
With this configuration, your scala 3 `shebang` line will look like this:
```scala
Expand Down Expand Up @@ -265,7 +265,7 @@ object Fstab {
#!/ usr / bin / env -S scala -cli shebang

//> using scala "3.3.1"
//> using lib "org.vastblue::pallet::0.10.4"
//> using lib "org.vastblue::pallet::0.10.6"

import vastblue.pallet.*
import vastblue.Platform.*
Expand Down Expand Up @@ -297,7 +297,7 @@ Note that on Darwin, there is no `/etc/fstab` file, so the `Path#lines` extensio
#!/usr/bin/env -S scala-cli shebang

//> using scala "3.3.1"
//> using lib "org.vastblue::pallet::0.10.4"
//> using lib "org.vastblue::pallet::0.10.6"

import vastblue.pallet.*

Expand Down
5 changes: 3 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ javacOptions ++= Seq("-source", "11", "-target", "11")

//ThisBuild / envFileName := "dev.env" // sbt-dotenv plugin gets build environment here
ThisBuild / scalaVersion := scalaVer
ThisBuild / version := "0.10.4"
ThisBuild / version := "0.10.6"
ThisBuild / versionScheme := Some("semver-spec")

ThisBuild / organization := "org.vastblue"
Expand Down Expand Up @@ -73,7 +73,8 @@ libraryDependencies ++= Seq(
"org.scalatest" %% "scalatest" % "3.2.17" % Test,
"org.scalacheck" %% "scalacheck" % "1.17.0" % Test,
"io.github.chronoscala" %% "chronoscala" % "2.0.10",
"org.vastblue" % "unifile_3" % "0.2.4",
"org.vastblue" % "unifile_3" % "0.3.0",
"com.github.sisyphsu" % "dateparser" % "1.0.11",
)

/*
Expand Down
2 changes: 1 addition & 1 deletion jsrc/bashPath.sc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env -S scala

//> using scala "3.3.1"
//> using lib "org.vastblue::pallet::0.10.4"
//> using lib "org.vastblue::pallet::0.10.6"

import vastblue.pallet.*

Expand Down
2 changes: 1 addition & 1 deletion jsrc/bashPathCli.sc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env -S scala-cli shebang

//> using scala "3.3.1"
//> using lib "org.vastblue::pallet::0.10.4"
//> using lib "org.vastblue::pallet::0.10.6"

import vastblue.pallet.*

Expand Down
Loading

0 comments on commit 4ab1f2f

Please sign in to comment.