From ef519e0d91202ef88443df9425f28889435179e3 Mon Sep 17 00:00:00 2001 From: Christopher Vogt Date: Sun, 13 Nov 2016 14:50:12 -0500 Subject: 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. --- stage2/Stage2.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stage2/Stage2.scala') 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) } -- cgit v1.2.3