Skip to content

Commit d0fd3c8

Browse files
committed
set -foe, fail JMH when the Scala compiler crashes
1 parent 3927e28 commit d0fd3c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ lazy val addJavaOptions = javaOptions ++= {
6565
)
6666
}
6767

68-
addCommandAlias("hot", "compilation/jmh:run HotScalacBenchmark")
68+
addCommandAlias("hot", "compilation/jmh:run HotScalacBenchmark -foe true")
6969

70-
addCommandAlias("cold", "compilation/jmh:run ColdScalacBenchmark")
70+
addCommandAlias("cold", "compilation/jmh:run ColdScalacBenchmark -foe true")
7171

7272
def addJmh(project: Project): Project = {
7373
// IntelliJ SBT project import doesn't like sbt-jmh's default setup, which results the prod and test

0 commit comments

Comments
 (0)