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 /plugins/essentials | |
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 'plugins/essentials')
-rw-r--r-- | plugins/essentials/CommandLineOverrides.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/essentials/CommandLineOverrides.scala b/plugins/essentials/CommandLineOverrides.scala index ce68aa9..3ffaf21 100644 --- a/plugins/essentials/CommandLineOverrides.scala +++ b/plugins/essentials/CommandLineOverrides.scala @@ -9,7 +9,8 @@ trait CommandLineOverrides extends DynamicOverrides{ )( s""" ${context.args.lift(0).getOrElse("")} """ ), - context.args.lift(1) orElse Some("void") + context.args.lift(1) orElse Some("void"), + context ) } def eval = { @@ -19,7 +20,8 @@ trait CommandLineOverrides extends DynamicOverrides{ args = ( context.args.lift(0).map("println{ "+_+" }") ).toSeq ) ){""}, - Some("with") + Some("with"), + context ) } } |