diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2015-03-10 16:27:31 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-04-17 11:49:22 -0700 |
commit | ac75b7471efa4099351f19b5a9b52be88fdd394b (patch) | |
tree | c0be449372470c2e3795338f1deb37efcde89f3d | |
parent | 9ce6a9d07c84c7436a50549603e7a8908841e22d (diff) | |
download | scala-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
-rw-r--r-- | build.sbt | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |