Skip to content

Commit

Permalink
0.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi-databricks committed Jul 20, 2020
1 parent 66f080b commit b728a00
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
14 changes: 7 additions & 7 deletions build.sc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import mill._, scalalib._, publish._, scalajslib.ScalaJSModule
val sjsonnetVersion = "0.2.5"
val sjsonnetVersion = "0.2.6"

object sjsonnet extends Cross[SjsonnetModule]("2.12.9", "2.13.1")
object sjsonnet extends Cross[SjsonnetModule]("2.12.12", "2.13.3")
class SjsonnetModule(val crossScalaVersion: String) extends Module {
def millSourcePath = super.millSourcePath / ammonite.ops.up
trait SjsonnetCrossModule extends CrossScalaModule with PublishModule{
Expand All @@ -15,10 +15,10 @@ class SjsonnetModule(val crossScalaVersion: String) extends Module {
def crossScalaVersion = SjsonnetModule.this.crossScalaVersion

def ivyDeps = Agg(
ivy"com.lihaoyi::fastparse::2.2.4",
ivy"com.lihaoyi::fastparse::2.3.0",
ivy"com.lihaoyi::pprint::0.5.9",
ivy"com.lihaoyi::ujson::1.0.0",
ivy"com.lihaoyi::scalatags::0.8.6",
ivy"com.lihaoyi::ujson::1.2.0",
ivy"com.lihaoyi::scalatags::0.9.1",
ivy"org.scala-lang.modules::scala-collection-compat::2.1.4"
)
def publishVersion = sjsonnetVersion
Expand Down Expand Up @@ -55,15 +55,15 @@ class SjsonnetModule(val crossScalaVersion: String) extends Module {
}
}
object js extends SjsonnetCrossModule with ScalaJSModule{
def scalaJSVersion = "1.0.0"
def scalaJSVersion = "1.1.1"
def platformSegment = "js"
object test extends Tests with CrossTests
}
object jvm extends SjsonnetCrossModule {
def mainClass = Some("sjsonnet.SjsonnetMain")
def platformSegment = "jvm"
def ivyDeps = super.ivyDeps() ++ Agg(
ivy"com.lihaoyi::os-lib:0.6.3",
ivy"com.lihaoyi::os-lib:0.7.1",
ivy"com.github.scopt::scopt::3.7.1",
)
def compileIvyDeps = Agg( ivy"com.lihaoyi::acyclic:0.2.0")
Expand Down
4 changes: 3 additions & 1 deletion mill
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
# This is a wrapper script, that automatically download mill from GitHub release pages
# You can give the required mill version with MILL_VERSION env variable
# If no version is given, it falls back to the value of DEFAULT_MILL_VERSION
DEFAULT_MILL_VERSION=0.6.1
DEFAULT_MILL_VERSION=0.7.4-5-438ebc



set -e

Expand Down
2 changes: 1 addition & 1 deletion sjsonnet/src-jvm/sjsonnet/Cli.scala
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ object Cli{
(c, v) => c.copy(yamlStream = true)
),
Arg[Config, Unit](
"String", Some('S'),
"string", Some('S'),
"Expect a string, manifest as plain text",
(c, v) => c.copy(expectString = true)
),
Expand Down

0 comments on commit b728a00

Please sign in to comment.