Skip to content

Commit

Permalink
no
Browse files Browse the repository at this point in the history
  • Loading branch information
mio-19 committed Oct 25, 2024
1 parent 516de30 commit b1fe225
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import scala.sys.process._
ThisBuild / version := sys.env.getOrElse("VERSION", "0.0.24")
ThisBuild / organization := "com.github.chester-lang"

addCommandAlias("testAll", "rootJVM/test ; rootJS/test ; platform0Native/test")
addCommandAlias("testAll", "rootJVM/test ; rootJS/test ; rootNative/test")

addCommandAlias("format", "scalafmtAll ; scalafmtSbt ; scalafixAll")
addCommandAlias("fmt", "scalafmtAll ; scalafmtSbt")
Expand Down Expand Up @@ -519,8 +519,8 @@ lazy val tyck = crossProject(JSPlatform, JVMPlatform, NativePlatform)
)
.jvmSettings(commonJvmLibSettings)

// compiles with scala native but test / nativeLink for this subproject is broken.
lazy val compiler213 = crossProject(JSPlatform, JVMPlatform, NativePlatform)
// compiles with scala native. XmlParser broken on nativeLink step. will wait for scalameta scala3 migration
lazy val compiler213 = crossProject(JSPlatform, JVMPlatform)
.withoutSuffixFor(JVMPlatform)
.crossType(CrossType.Full)
.in(file("compiler213"))
Expand All @@ -539,7 +539,9 @@ lazy val compiler = crossProject(JSPlatform, JVMPlatform, NativePlatform)
.withoutSuffixFor(JVMPlatform)
.crossType(CrossType.Full)
.in(file("compiler"))
.dependsOn(utils, syntax, err, compiler213)
.dependsOn(utils, syntax, err)
.jvmConfigure(_.dependsOn(compiler213.jvm))
.jsConfigure(_.dependsOn(compiler213.js))
.settings(
name := "compiler",
commonSettings
Expand Down

0 comments on commit b1fe225

Please sign in to comment.