Skip to content

Commit

Permalink
Support Scala.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Atry committed Sep 26, 2016
1 parent a8de82e commit 64d0b70
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 1 deletion.
11 changes: 10 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.0" % Test
publishArtifact := false

organization in ThisBuild := "com.thoughtworks.extractor"

name := "extractor"

crossScalaVersions in ThisBuild := Seq("2.10.6", "2.11.8", "2.12.0-RC1")

lazy val extractor = crossProject in file(".")

lazy val extractorJVM = extractor.jvm.addSbtFiles(file("../shared/build.sbt"))

lazy val extractorJS = extractor.js.addSbtFiles(file("../shared/build.sbt"))

// Workaround for randomly Travis CI fail
parallelExecution in Global := false
4 changes: 4 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
addSbtPlugin("com.thoughtworks.sbt-best-practice" % "sbt-best-practice" % "1.6.0")

addSbtPlugin("com.thoughtworks.sbt-scala-js-map" % "sbt-scala-js-map" % "latest.release")

addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.12")
1 change: 1 addition & 0 deletions shared/build.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
libraryDependencies += "org.scalatest" %%% "scalatest" % "3.0.0" % Test

0 comments on commit 64d0b70

Please sign in to comment.