aboutsummaryrefslogtreecommitdiff
path: root/stage2/BuildDependency.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-09-13 15:34:34 +0100
committerChristopher Vogt <oss.nsp@cvogt.org>2016-09-13 15:34:34 +0100
commit6a770ac9cf0ed7c8157c7222e74ed1527d4c76c2 (patch)
treefc3ae9e9f62899e6748f764ccbd7b95ea59374b0 /stage2/BuildDependency.scala
parent1d6bd9e76b123d8b9f0a522634245512311417dc (diff)
downloadcbt-6a770ac9cf0ed7c8157c7222e74ed1527d4c76c2.tar.gz
cbt-6a770ac9cf0ed7c8157c7222e74ed1527d4c76c2.tar.bz2
cbt-6a770ac9cf0ed7c8157c7222e74ed1527d4c76c2.zip
make case class DirectoryDependency final
Diffstat (limited to 'stage2/BuildDependency.scala')
-rw-r--r--stage2/BuildDependency.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/stage2/BuildDependency.scala b/stage2/BuildDependency.scala
index c0b53ad..a834435 100644
--- a/stage2/BuildDependency.scala
+++ b/stage2/BuildDependency.scala
@@ -15,16 +15,16 @@ trait TriggerLoop extends DependencyImplementation{
def triggerLoopFiles: Seq[File]
}
/** You likely want to use the factory method in the BasicBuild class instead of this. */
-case class DirectoryDependency(context: Context) extends TriggerLoop{
+final case class DirectoryDependency(context: Context) extends TriggerLoop{
override def show = this.getClass.getSimpleName ++ "(" ++ context.projectDirectory.string ++ ")"
- final override lazy val logger = context.logger
- final override lazy val lib: Lib = new Lib(logger)
- private val root = lib.loadRoot( context.copy(args=Seq()) )
+ lazy val logger = context.logger
+ override lazy val lib: Lib = new Lib(logger)
+ private lazy val root = lib.loadRoot( context.copy(args=Seq()) )
lazy val build = root.finalBuild
def exportedClasspath = ClassPath()
def dependencies = Seq(build)
def triggerLoopFiles = root.triggerLoopFiles
- override final val needsUpdate = build.needsUpdate
+ def needsUpdate = build.needsUpdate
def targetClasspath = ClassPath()
}
/*