Skip to content

Commit 1f108e5

Browse files
authored
Merge pull request #132 from gourlaysama/fix-native-support
Fix js/native support & bump sbt and plugins versions
2 parents daf9fe2 + 18e1a75 commit 1f108e5

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

build.sbt

-3
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,16 @@ lazy val `scala-parser-combinators` = crossProject(JSPlatform, JVMPlatform, Nati
4444
jvmSettings(
4545
// Mima uses the name of the jvm project in the artifactId
4646
// when resolving previous versions (so no "-jvm" project)
47-
name := "scala-parser-combinators",
4847
OsgiKeys.exportPackage := Seq(s"scala.util.parsing.*;version=${version.value}"),
4948
libraryDependencies += "junit" % "junit" % "4.12" % "test",
5049
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test"
5150
).
5251
jsSettings(
53-
name := "scala-parser-combinators-js",
5452
// Scala.js cannot run forked tests
5553
fork in Test := false
5654
).
5755
jsConfigure(_.enablePlugins(ScalaJSJUnitPlugin)).
5856
nativeSettings(
59-
name := "scala-parser-combinators-native",
6057
scalaVersion := "2.11.11",
6158
skip in compile := System.getProperty("java.version").startsWith("1.6"),
6259
test := {},

project/build.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
sbt.version=0.13.15
1+
sbt.version=0.13.16

project/plugins.sbt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.12")
22

3-
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.18")
4-
addSbtPlugin("org.scala-native" % "sbt-crossproject" % "0.2.0")
5-
addSbtPlugin("org.scala-native" % "sbt-scalajs-crossproject" % "0.2.0")
6-
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.1")
3+
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.21")
4+
addSbtPlugin("org.scala-native" % "sbt-crossproject" % "0.2.2")
5+
addSbtPlugin("org.scala-native" % "sbt-scalajs-crossproject" % "0.2.2")
6+
addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.3")

0 commit comments

Comments
 (0)