8000 Build with Scala.js. · sjrd/scala-parser-combinators@da5f712 · GitHub
[go: up one dir, main page]

Skip to content

Commit da5f712

Browse files
committed
Build with Scala.js.
1 parent 27d7770 commit da5f712

File tree

3 files changed

+5
-32
lines changed

3 files changed

+5
-32
lines changed

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
language: scala
22
script:
3-
- sbt ++$TRAVIS_SCALA_VERSION clean update compile test
3+
- sbt ++$TRAVIS_SCALA_VERSION compile
44
scala:
55
- 2.11.1
66
jdk:
77
- openjdk6
88
- openjdk7
99
notifications:
1010
email:
11-
- adriaan.moors@typesafe.com
12-
- antoine@gourlay.fr
11+
- sjrdoeraene@gmail.com
1312

1413
# if we get weird timeouts, see https://github.com/spray/spray/pull/233
1514
# 'set concurrentRestrictions in Global += Tags.limit(Tags.Test, 1)'

build.sbt

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,9 @@
1-
import com.typesafe.tools.mima.plugin.{MimaPlugin, MimaKeys}
1+
scalaJSSettings
22

3-
scalaModuleSettings
3+
organization := "org.scalajs"
44

55
name := "scala-parser-combinators"
66

77
version := "1.0.2-SNAPSHOT"
88

99
scalaVersion := "2.11.1"
10-
11-
snapshotScalaBinaryVersion := "2.11"
12-
13-
// important!! must come here (why?)
14-
scalaModuleOsgiSettings
15-
16-
OsgiKeys.exportPackage := Seq(s"scala.util.parsing.*;version=${version.value}")
17-
18-
// needed to fix classloader issues (see scala-xml#20)
19-
fork in Test := true
20-
21-
libraryDependencies += "junit" % "junit" % "4.11" % "test"
22-
23-
libraryDependencies += "com.novocode" % "junit-interface" % "0.10" % "test"
24-
25-
MimaPlugin.mimaDefaultSettings
26-
27-
MimaKeys.previousArtifact := Some(organization.value % s"${name.value}_2.11" % "1.0.1")
28-
29-
// run mima during tests
30-
test in Test := {
31-
MimaKeys.reportBinaryIssues.value
32-
(test in Test).value
33-
}

project/plugins.sbt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
addSbtPlugin("org.scala-lang.modules" % "scala-module-plugin" % "1.0.2")
2-
3-
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.6")
1+
addSbtPlugin("org.scala-lang.modules.scalajs" % "scalajs-sbt-plugin" % "0.5.4")

0 commit comments

Comments
 (0)
0