Skip to content

Commit

Permalink
only in test
Browse files Browse the repository at this point in the history
  • Loading branch information
deusaquilus committed Oct 7, 2020
1 parent 350fa65 commit ac153b1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ lazy val `quill-core-portable` =
"io.suzaku" %%% "boopickle" % "1.3.1"
),
coverageExcludedPackages := ".*",
scalaJSOptimizerOptions in fastOptJS ~= { _.withDisableOptimizer(true) }
scalaJSOptimizerOptions in fastOptJS in Test ~= { _.withDisableOptimizer(true) }
)

lazy val `quill-core-portable-jvm` = `quill-core-portable`.jvm
Expand All @@ -220,7 +220,7 @@ lazy val `quill-core` =
),
excludeFilter in unmanagedSources := new SimpleFileFilter(file => file.getName == "DynamicQuerySpec.scala"),
coverageExcludedPackages := ".*",
scalaJSOptimizerOptions in fastOptJS ~= { _.withDisableOptimizer(true) }
scalaJSOptimizerOptions in fastOptJS in Test ~= { _.withDisableOptimizer(true) }
)
.dependsOn(`quill-core-portable` % "compile->compile")

Expand All @@ -241,7 +241,7 @@ lazy val `quill-sql-portable` =
),
scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule) },
coverageExcludedPackages := ".*",
scalaJSOptimizerOptions in fastOptJS ~= { _.withDisableOptimizer(true) }
scalaJSOptimizerOptions in fastOptJS in Test ~= { _.withDisableOptimizer(true) }
//jsEnv := NodeJSEnv(args = Seq("--max_old_space_size=1024")).value
)
.dependsOn(`quill-core-portable` % "compile->compile")
Expand All @@ -264,7 +264,7 @@ lazy val `quill-sql` =
),
scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.CommonJSModule) },
coverageExcludedPackages := ".*",
scalaJSOptimizerOptions in fastOptJS ~= { _.withDisableOptimizer(true) }
scalaJSOptimizerOptions in fastOptJS in Test ~= { _.withDisableOptimizer(true) }
)
.dependsOn(
`quill-sql-portable` % "compile->compile",
Expand Down

0 comments on commit ac153b1

Please sign in to comment.