aboutsummaryrefslogtreecommitdiff
path: root/stage2/BasicBuild.scala
diff options
context:
space:
mode:
Diffstat (limited to 'stage2/BasicBuild.scala')
-rw-r--r--stage2/BasicBuild.scala5
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