aboutsummaryrefslogtreecommitdiff
path: root/stage2/Stage2.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-11-13 14:50:12 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2016-11-13 15:30:06 -0500
commitef519e0d91202ef88443df9425f28889435179e3 (patch)
treeba4f2fe44f93d49493404c624818df95623c9466 /stage2/Stage2.scala
parent4b7aec94eaf1200f4ac19a755af8b8cf8601f5d6 (diff)
downloadcbt-ef519e0d91202ef88443df9425f28889435179e3.tar.gz
cbt-ef519e0d91202ef88443df9425f28889435179e3.tar.bz2
cbt-ef519e0d91202ef88443df9425f28889435179e3.zip
fixes interacting with BuildBuilds from the cli and cleans up.
Before this when doing `build/$ cbt dependencies` cbt would not show up because cbt would be using a BaseBuild, not a BuildBuild. Not it does.
Diffstat (limited to 'stage2/Stage2.scala')
-rw-r--r--stage2/Stage2.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala
index b7b6d33..dfbead3 100644
--- a/stage2/Stage2.scala
+++ b/stage2/Stage2.scala
@@ -71,7 +71,7 @@ object Stage2 extends Stage2Base{
scala.util.control.Breaks.break
case file if triggerFiles.exists(file.toString startsWith _.toString) =>
- val build = lib.loadDynamic(context)
+ val build = lib.loadRoot(context).finalBuild
logger.loop(s"Re-running $task for " ++ build.show)
call(build)
}