aboutsummaryrefslogtreecommitdiff
path: root/stage2/BuildDependency.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-11-13 14:45:36 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2016-11-13 15:29:33 -0500
commitff6856395499853f3dc10723a0c722ee4c33fed7 (patch)
tree3b0e339e941f51dfcf7c0d159522dd22be73f884 /stage2/BuildDependency.scala
parent9664f3e22156ab159e310f31720082b417dcf03e (diff)
downloadcbt-ff6856395499853f3dc10723a0c722ee4c33fed7.tar.gz
cbt-ff6856395499853f3dc10723a0c722ee4c33fed7.tar.bz2
cbt-ff6856395499853f3dc10723a0c722ee4c33fed7.zip
minor refactoring using shorter names
Diffstat (limited to 'stage2/BuildDependency.scala')
-rw-r--r--stage2/BuildDependency.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/BuildDependency.scala b/stage2/BuildDependency.scala
index a834435..197a7a1 100644
--- a/stage2/BuildDependency.scala
+++ b/stage2/BuildDependency.scala
@@ -29,7 +29,7 @@ final case class DirectoryDependency(context: Context) extends TriggerLoop{
}
/*
case class DependencyOr(first: DirectoryDependency, second: JavaDependency) extends ProjectProxy with DirectoryDependencyBase{
- val isFirst = new File(first.context.projectDirectory).exists
+ val isFirst = new File(first.projectDirectory).exists
def triggerLoopFiles = if(isFirst) first.triggerLoopFiles else Seq()
protected val delegate = if(isFirst) first else second
}