Skip to content

Commit a14f62b

Browse files
author
exoego
committed
Use Scala.js specicifed in environment variable.
1 parent de89a8b commit a14f62b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

project/plugins.sbt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
scalacOptions ++= Seq("-deprecation", "-feature", "-Xfatal-warnings")
22

3+
val scalajsVersion = Option(System.getenv("SCALAJS_VERSION")).filter(_.nonEmpty).getOrElse("0.6.28")
4+
35
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.0.0")
4-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.28")
6+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalajsVersion)
57
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.6.1")

0 commit comments

Comments
 (0)