diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-14 00:19:35 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2017-02-14 00:34:48 -0500 |
commit | 8f694428e1f206702c3172440ccf896c8b501941 (patch) | |
tree | d6ce22372aa5d82954b210cda7f358e52c1fad42 /stage2/BasicBuild.scala | |
parent | 465b9bfc84c21c0a599362624fa46febfa5e09c8 (diff) | |
download | cbt-8f694428e1f206702c3172440ccf896c8b501941.tar.gz cbt-8f694428e1f206702c3172440ccf896c8b501941.tar.bz2 cbt-8f694428e1f206702c3172440ccf896c8b501941.zip |
allow overwriting test with nested build
Diffstat (limited to 'stage2/BasicBuild.scala')
-rw-r--r-- | stage2/BasicBuild.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/BasicBuild.scala b/stage2/BasicBuild.scala index ad41dd4..4ac1903 100644 --- a/stage2/BasicBuild.scala +++ b/stage2/BasicBuild.scala @@ -185,7 +185,7 @@ trait BaseBuild extends BuildInterface with DependencyImplementation with Trigge def run: ExitCode = run( context.args: _* ) - def test: Option[ExitCode] = + def test: Any = Some(new lib.ReflectBuild( DirectoryDependency(projectDirectory++"/test").build ).callNullary(Some("run"))) |