Skip to content

Commit 4b68d18

Browse files
committed
Nitpicking
1 parent 6fe84c0 commit 4b68d18

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

project/Build.scala

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ object DottyBuild extends Build {
66

77
val defaults = Defaults.defaultSettings ++ Seq(
88
// set sources to src/, tests to test/ and resources to resources/
9-
scalaSource in Compile <<= baseDirectory(_ / "src"),
10-
javaSource in Compile <<= baseDirectory(_ / "src"),
11-
scalaSource in Test <<= baseDirectory(_ / "test"),
12-
javaSource in Test <<= baseDirectory(_ / "test"),
13-
resourceDirectory in Compile <<= baseDirectory(_ / "resources"),
14-
unmanagedSourceDirectories in Compile <<= (scalaSource in Compile)(Seq(_)),
15-
unmanagedSourceDirectories in Test <<= (scalaSource in Test)(Seq(_)),
9+
scalaSource in Compile := baseDirectory.value / "src",
10+
javaSource in Compile := baseDirectory.value / "src",
11+
scalaSource in Test := baseDirectory.value / "test",
12+
javaSource in Test := baseDirectory.value / "test",
13+
resourceDirectory in Compile := baseDirectory.value / "resources",
14+
unmanagedSourceDirectories in Compile := Seq((scalaSource in Compile).value),
15+
unmanagedSourceDirectories in Test := Seq((scalaSource in Test).value),
1616

1717
// include sources in eclipse (downloads source code for all dependencies)
1818
//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 {
4343
path = file.getAbsolutePath
4444
} yield "-Xbootclasspath/p:" + path
4545
// dotty itself needs to be in the bootclasspath
46-
val self = "-Xbootclasspath/a:" + bin
47-
System.err.println("PATH: " + path)
48-
self :: path.toList
46+
val fullpath = ("-Xbootclasspath/a:" + bin) :: path.toList
47+
// System.err.println("BOOTPATH: " + fullpath)
48+
fullpath
4949
}
5050
)
5151

0 commit comments

Comments
 (0)