Skip to content

Commit dbdb924

Browse files
committed
Add cross-building support with Scala.js 1.0.0-M1.
1 parent 8bcd3e4 commit dbdb924

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@ scala:
1313
- 2.13.0-M1
1414
jdk:
1515
- oraclejdk8
16+
env:
17+
- SCALAJS_VERSION=0.6.18
18+
- SCALAJS_VERSION=1.0.0-M1

project/build.sbt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.18")
1+
val scalaJSVersion =
2+
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.18")
3+
4+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
25

36
addSbtPlugin("org.scalastyle" % "scalastyle-sbt-plugin" % "0.8.0")

0 commit comments

Comments
 (0)