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/BasicBuild.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/BasicBuild.scala')
-rw-r--r-- | stage2/BasicBuild.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala index 5c49395..e3b1c1b 100644 --- a/stage2/BasicBuild.scala +++ b/stage2/BasicBuild.scala @@ -189,7 +189,8 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge def test: Any = lib.callReflective( DirectoryDependency(projectDirectory++"/test").dependency, - Some("run") + Some("run"), + context ) def t = test @@ -229,7 +230,7 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge System.err.println(b.show) lib.trapExitCode{ // FIXME: trapExitCode does not seem to work here try{ - lib.callReflective(b,code) + lib.callReflective(b,code,context) ExitCode.Success } catch { case e: Throwable => println(e.getClass); throw e |