summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorGrzegorz Kossakowski <grzegorz.kossakowski@gmail.com>2015-03-10 16:27:31 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2015-04-17 11:49:22 -0700
commitac75b7471efa4099351f19b5a9b52be88fdd394b (patch)
treec0be449372470c2e3795338f1deb37efcde89f3d /build.sbt
parent9ce6a9d07c84c7436a50549603e7a8908841e22d (diff)
downloadscala-ac75b7471efa4099351f19b5a9b52be88fdd394b.tar.gz
scala-ac75b7471efa4099351f19b5a9b52be88fdd394b.tar.bz2
scala-ac75b7471efa4099351f19b5a9b52be88fdd394b.zip
Always fork in run.
This way we don't need to worry about mixing classes for Scala compiler that sbt is invoking and the one we just built. For an example of possible problem, check out: https://github.com/gkossakowski/scala/pull/2#issuecomment-78169188
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index e74d8c2f1d..dcc4e40d6b 100644
--- a/build.sbt
+++ b/build.sbt
@@ -87,7 +87,8 @@ lazy val commonSettings = Seq[Setting[_]](
classDirectory in Compile := buildDirectory.value / "quick/classes" / thisProject.value.id,
// given that classDirectory is overriden to be _outside_ of target directory, we have
// to make sure its being cleaned properly
- cleanFiles += (classDirectory in Compile).value
+ cleanFiles += (classDirectory in Compile).value,
+ fork in run := true
)
// disable various tasks that are not needed for projects that are used