diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-22 17:02:13 +0800 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-22 17:03:43 +0800 |
commit | 0972023722e8f6a59002d2d78defb7c5dec0240f (patch) | |
tree | 6afcb970230a9de6d07cfd6a424df555fbeee329 /stage2/Stage2.scala | |
parent | 420b0bc9fdb542d0af49da96e37733ab3a3363ee (diff) | |
download | cbt-0972023722e8f6a59002d2d78defb7c5dec0240f.tar.gz cbt-0972023722e8f6a59002d2d78defb7c5dec0240f.tar.bz2 cbt-0972023722e8f6a59002d2d78defb7c5dec0240f.zip |
treat subdirectores as subbuilds via cmd line
Diffstat (limited to 'stage2/Stage2.scala')
-rw-r--r-- | stage2/Stage2.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stage2/Stage2.scala b/stage2/Stage2.scala index 7ac7a2a..d43c4f6 100644 --- a/stage2/Stage2.scala +++ b/stage2/Stage2.scala @@ -59,11 +59,11 @@ object Stage2 extends Stage2Base{ case file if triggerFiles.exists(file.toString startsWith _.toString) => val build = lib.loadRoot(context).finalBuild( context.cwd ) logger.loop(s"Re-running $task for " ++ build.show) - lib.callReflective(build, task) + lib.callReflective(build, task, context) } ExitCode.Success } else { - val code = lib.callReflective(build, task) + val code = lib.callReflective(build, task, context) logger.stage2(s"Stage2 end") code } |