Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 25139f0

Browse files
Merge pull request #153 from xuwei-k/build-file-warn
fix warning in build.sbt
2 parents 8b02d6f + 1f1d5c1 commit 25139f0

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎build.sbt‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import ScalaModulePlugin._
2+
import sbtcrossproject.crossProject
23

34
scalaVersionsByJvm in ThisBuild := {
45
val v211 = "2.11.12"
@@ -17,7 +18,7 @@ lazy val root = project.in(file("."))
1718
.aggregate(`scala-parser-combinatorsJS`, `scala-parser-combinatorsJVM`)
1819
.settings(disablePublishing)
1920

20-
lazy val `scala-parser-combinators` = crossProject.in(file(".")).
21+
lazy val `scala-parser-combinators` = crossProject(JSPlatform, JVMPlatform).in(file(".")).
2122
settings(scalaModuleSettings: _*).
2223
jvmSettings(scalaModuleSettingsJVM).
2324
settings(

‎project/plugins.sbt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "1.0.14")
22

33
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.23")
4+
5+
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.4.0")

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /