aboutsummaryrefslogtreecommitdiff
path: root/stage2/Lib.scala
diff options
context:
space:
mode:
authorChristopher Vogt <oss.nsp@cvogt.org>2016-11-13 13:28:36 -0500
committerChristopher Vogt <oss.nsp@cvogt.org>2017-02-13 10:13:05 -0500
commit9f89d16aa3ca5f96d73a8394d5159dc78dd5d7cf (patch)
treec6181da8869bd4c4c30eb63c2efcf5d8435b4117 /stage2/Lib.scala
parentb1db36baebe1f76a39e8bd1a89892465c70b69be (diff)
downloadcbt-9f89d16aa3ca5f96d73a8394d5159dc78dd5d7cf.tar.gz
cbt-9f89d16aa3ca5f96d73a8394d5159dc78dd5d7cf.tar.bz2
cbt-9f89d16aa3ca5f96d73a8394d5159dc78dd5d7cf.zip
multi-project build example using a single build file
Diffstat (limited to 'stage2/Lib.scala')
-rw-r--r--stage2/Lib.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala
index dfb7ef3..fcf2642 100644
--- a/stage2/Lib.scala
+++ b/stage2/Lib.scala
@@ -181,7 +181,7 @@ final class Lib(val logger: Logger) extends Stage1Lib(logger) with Scaffold{
case code if code.getClass.getSimpleName == "ExitCode" =>
// FIXME: ExitCode needs to be part of the compatibility interfaces
ExitCode(Stage0Lib.get(code,"integer").asInstanceOf[Int])
- case Seq(b:BaseBuild) =>
+ case b: BaseBuild =>
val context = b.context.copy(args=b.context.args.drop(1))
val task = b.context.args.lift(0)
new ReflectBuild( b.copy(context=context) ).callNullary( task )