Skip to content

Commit e1aa57f

Browse files
committed
Support cross compilation to Scala.js 1.
1 parent 79993d7 commit e1aa57f

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ jdk:
1010
sudo: required
1111
dist: trusty
1212

13+
env:
14+
- SCALAJS_VERSION=0.6.32
15+
- SCALAJS_VERSION=1.0.0-RC2
16+
1317
cache:
1418
directories:
1519
- $HOME/.ivy2

project/plugins.sbt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
resolvers += "Sonatype Public".at("https://oss.sonatype.org/content/groups/public/")
22

3+
val scalaJSVersion =
4+
Option(System.getenv("SCALAJS_VERSION")).getOrElse("0.6.32")
5+
6+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % scalaJSVersion)
7+
38
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.6.1")
4-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.31")
59
addSbtPlugin("com.typesafe.sbt" % "sbt-osgi" % "0.9.5")
610
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.12")
711
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "3.8.1")

0 commit comments

Comments
 (0)