Skip to content

Commit

Permalink
release v0.10.8 -- update version references
Browse files Browse the repository at this point in the history
  • Loading branch information
philwalk committed Feb 21, 2024
1 parent a4e32b0 commit eb0e58d
Show file tree
Hide file tree
Showing 12 changed files with 138 additions and 137 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/scala.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ jobs:
- name: Run tests
run: sbt test
# Optional: This step uploads information to the GitHub dependency graph and unblocking Dependabot alerts for the repository
# - name: Upload dependency graph
# uses: scalacenter/sbt-dependency-submission@ab086b50c947c9774b70f39fc7f6e20ca2706c91
- name: Upload dependency graph
uses: scalacenter/sbt-dependency-submission@ab086b50c947c9774b70f39fc7f6e20ca2706c91
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.6"
"org.vastblue" % "pallet_3" % "0.10.8"
```
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.6"
//> using lib "org.vastblue::pallet::0.10.8"
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.6/jars/pallet_3.jar
-classpath /Users/username/.ivy2/local/org.vastblue/pallet_3/0.10.8/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.6"
//> using lib "org.vastblue::pallet::0.10.8"

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.6"
//> using lib "org.vastblue::pallet::0.10.8"

import vastblue.pallet.*

Expand Down
9 changes: 4 additions & 5 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.6"
ThisBuild / version := "0.10.8"
ThisBuild / versionScheme := Some("semver-spec")

ThisBuild / organization := "org.vastblue"
Expand Down Expand Up @@ -68,13 +68,12 @@ lazy val root = (project in file(".")).
)

libraryDependencies ++= Seq(
"org.simpleflatmapper" % "sfm-csv-jre6" % "8.2.3",
"org.simpleflatmapper" % "sfm-csv" % "8.2.3",
"com.github.sbt" % "junit-interface" % "0.13.3" % Test,
"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.3.0",
"com.github.sisyphsu" % "dateparser" % "1.0.11",
"org.vastblue" % "unifile_3" % "0.3.1",
//"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
Expand Up @@ -2,7 +2,7 @@
//package vastblue.demo

//> using scala "3.3.1"
//> using lib "org.vastblue::pallet::0.10.7"
//> using lib "org.vastblue::pallet::0.10.8"

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.7"
//> using lib "org.vastblue::pallet::0.10.8"

import vastblue.pallet.*

Expand Down
2 changes: 1 addition & 1 deletion jsrc/fstabCli.sc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

//> using scala "3.3.1"
//> using lib "org.vastblue::unifile::0.3.1"
//> using lib "org.vastblue::pallet::0.10.7"
//> using lib "org.vastblue::pallet::0.10.8"

//import vastblue.pallet.*
import vastblue.unifile.*
Expand Down
2 changes: 1 addition & 1 deletion jsrc/palletRef.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.7"
//> using lib "org.vastblue::pallet::0.10.8"

import vastblue.pallet._

Expand Down
2 changes: 1 addition & 1 deletion jsrc/palletRefCli.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.7"
//> using lib "org.vastblue::pallet::0.10.8"

import vastblue.pallet.*

Expand Down
6 changes: 3 additions & 3 deletions jsrc/sbt2cs.sc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import vastblue.unifile.*
*
* from:
* org.vastblue %% unifile % 0.3.1
* org.vastblue %% pallet % 0.10.7
* org.vastblue %% pallet % 0.10.8
* org.scalanlp %% breeze-viz % 2.1.0
* org.scalanlp %% breeze % 2.1.0
* org.scala-lang.modules %% scala-xml % 2.2.0
Expand All @@ -23,7 +23,7 @@ import vastblue.unifile.*
* com.github.darrenjw %% scala-glm % 0.8
*
* to:
* //> using dep "org.vastblue::pallet::0.10.7"
* //> using dep "org.vastblue::pallet::0.10.8"
* //> using dep "org.vastblue::unifile::0.3.1"
* //> using dep "org.scalanlp::breeze-viz::2.1.0"
* //> using dep "org.scalanlp::breeze::2.1.0"
Expand Down Expand Up @@ -86,7 +86,7 @@ com.github.darrenjw %% scala-glm % 0.8
org.scala-lang.modules %% scala-swing % 3.0.0
net.ruippeixotog %% scala-scraper % 3.1.1
org.vastblue %% unifile % 0.3.1
org.vastblue %% pallet % 0.10.7
org.vastblue %% pallet % 0.10.8
""".trim.split("[\r\n]+").toList.filter { _.nonEmpty }

def parseArgs(args: Seq[String]): Unit = {
Expand Down
2 changes: 1 addition & 1 deletion jsrc/unameGreeting.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.7"
//> using lib "org.vastblue::pallet::0.10.8"

import vastblue.pallet.*

Expand Down
Loading

0 comments on commit eb0e58d

Please sign in to comment.