Skip to content

Commit e0db54c

Browse files
Bootstrap with -optimise
1 parent e056f33 commit e0db54c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

project/Build.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,9 @@ object Build {
167167
// otherwise sbt 0.13 incremental compilation breaks (https://github.com/sbt/sbt/issues/3142)
168168
scalacOptions ++= Seq("-bootclasspath", sys.props("sun.boot.class.path")),
169169

170+
scalacOptions in Compile += "-optimise",
171+
scalacOptions in Test -= "-optimise",
172+
170173
// sbt gets very unhappy if two projects use the same target
171174
target := baseDirectory.value / ".." / "out" / "bootstrap" / name.value,
172175

0 commit comments

Comments
 (0)