summaryrefslogtreecommitdiff
path: root/project/build/CompilationStep.scala
diff options
context:
space:
mode:
Diffstat (limited to 'project/build/CompilationStep.scala')
-rw-r--r--project/build/CompilationStep.scala11
1 files changed, 6 insertions, 5 deletions
diff --git a/project/build/CompilationStep.scala b/project/build/CompilationStep.scala
index 02d76b9a54..be587de564 100644
--- a/project/build/CompilationStep.scala
+++ b/project/build/CompilationStep.scala
@@ -1,5 +1,6 @@
import sbt._
import BasicLayer._
+
trait Step extends Dag[Step] {
def dependencies:Iterable[Step]
}
@@ -12,15 +13,15 @@ abstract class CompilationStep(val name:String, val pathConfig:PathConfig, logge
def this(name:String, layout:PathLayout,logger:Logger) = this(name, layout / name, logger)
// Utility methods (for quick access, ...)
- def srcDir = pathConfig.sources
+ final def srcDir = pathConfig.sources
// Methods required for the compilation
def log: Logger = logger
- def sourceRoots : PathFinder = pathConfig.sources
+ final def sourceRoots : PathFinder = pathConfig.sources
def sources: PathFinder = sourceRoots.descendentsExcept("*.java" | "*.scala", ".svn")
- def projectPath: Path = pathConfig.projectRoot
- def analysisPath: Path = pathConfig.analysis
- def outputDirectory: Path = pathConfig.output
+ final def projectPath: Path = pathConfig.projectRoot
+ final def analysisPath: Path = pathConfig.analysis
+ final def outputDirectory: Path = pathConfig.output
def classpath = {
def addDependenciesOutputTo(list:List[Step],acc:PathFinder):PathFinder = list match{
case Nil => acc