diff options
author | Vlad Ureche <vlad.ureche@gmail.com> | 2014-01-23 23:10:31 +0100 |
---|---|---|
committer | Vlad Ureche <vlad.ureche@gmail.com> | 2014-01-23 23:10:31 +0100 |
commit | 4b68d181cc216bc60c81562b168ba85999a59350 (patch) | |
tree | fcc3bec1b8d90c0a90c8109624bb20395907129b /project | |
parent | 6fe84c0fb18556a1b9538d5dc572323583bf9a2c (diff) | |
download | dotty-4b68d181cc216bc60c81562b168ba85999a59350.tar.gz dotty-4b68d181cc216bc60c81562b168ba85999a59350.tar.bz2 dotty-4b68d181cc216bc60c81562b168ba85999a59350.zip |
Nitpicking
Diffstat (limited to 'project')
-rw-r--r-- | project/Build.scala | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/project/Build.scala b/project/Build.scala index ecf000832..a82fc3484 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -6,13 +6,13 @@ object DottyBuild extends Build { val defaults = Defaults.defaultSettings ++ Seq( // set sources to src/, tests to test/ and resources to resources/ - scalaSource in Compile <<= baseDirectory(_ / "src"), - javaSource in Compile <<= baseDirectory(_ / "src"), - scalaSource in Test <<= baseDirectory(_ / "test"), - javaSource in Test <<= baseDirectory(_ / "test"), - resourceDirectory in Compile <<= baseDirectory(_ / "resources"), - unmanagedSourceDirectories in Compile <<= (scalaSource in Compile)(Seq(_)), - unmanagedSourceDirectories in Test <<= (scalaSource in Test)(Seq(_)), + scalaSource in Compile := baseDirectory.value / "src", + javaSource in Compile := baseDirectory.value / "src", + scalaSource in Test := baseDirectory.value / "test", + javaSource in Test := baseDirectory.value / "test", + resourceDirectory in Compile := baseDirectory.value / "resources", + unmanagedSourceDirectories in Compile := Seq((scalaSource in Compile).value), + unmanagedSourceDirectories in Test := Seq((scalaSource in Test).value), // include sources in eclipse (downloads source code for all dependencies) //http://stackoverflow.com/questions/10472840/how-to-attach-sources-to-sbt-managed-dependencies-in-scala-ide#answer-11683728 @@ -43,9 +43,9 @@ object DottyBuild extends Build { path = file.getAbsolutePath } yield "-Xbootclasspath/p:" + path // dotty itself needs to be in the bootclasspath - val self = "-Xbootclasspath/a:" + bin - System.err.println("PATH: " + path) - self :: path.toList + val fullpath = ("-Xbootclasspath/a:" + bin) :: path.toList + // System.err.println("BOOTPATH: " + fullpath) + fullpath } ) |