aboutsummaryrefslogtreecommitdiff
path: root/stage2/BuildDependency.scala
diff options
context:
space:
mode:
authorJan Christopher Vogt <oss.nsp@cvogt.org>2017-02-28 09:22:29 -0500
committerGitHub <noreply@github.com>2017-02-28 09:22:29 -0500
commit9f3c5f3a36ea70a8dec03b048cc41b6579eb6c4b (patch)
tree13ce0083a15f7289682dc2fd6bf5066d25ee52cd /stage2/BuildDependency.scala
parentfdb5d7cdb692ded3ccc1d865282169598d190c03 (diff)
parent03b066827b3d397fb30a689904fa8d55db43fc8e (diff)
downloadcbt-9f3c5f3a36ea70a8dec03b048cc41b6579eb6c4b.tar.gz
cbt-9f3c5f3a36ea70a8dec03b048cc41b6579eb6c4b.tar.bz2
cbt-9f3c5f3a36ea70a8dec03b048cc41b6579eb6c4b.zip
Merge pull request #358 from cvogt/chris
various changes
Diffstat (limited to 'stage2/BuildDependency.scala')
-rw-r--r--stage2/BuildDependency.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/stage2/BuildDependency.scala b/stage2/BuildDependency.scala
index 0162791..9a2918a 100644
--- a/stage2/BuildDependency.scala
+++ b/stage2/BuildDependency.scala
@@ -25,6 +25,7 @@ final case class DirectoryDependency(context: Context, pathToNestedBuild: String
def transientCache = context.transientCache
private lazy val root = lib.loadRoot( context )
lazy val dependency: Dependency = {
+ // TODO: move this into finalBuild probably
def selectNestedBuild( build: Dependency, names: Seq[String], previous: Seq[String] ): Dependency = {
names.headOption.map{ name =>
if( lib.taskNames(build.getClass).contains(name) ){