aboutsummaryrefslogtreecommitdiff
path: root/plugins/essentials/CommandLineOverrides.scala
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/essentials/CommandLineOverrides.scala')
-rw-r--r--plugins/essentials/CommandLineOverrides.scala27
1 files changed, 0 insertions, 27 deletions
diff --git a/plugins/essentials/CommandLineOverrides.scala b/plugins/essentials/CommandLineOverrides.scala
deleted file mode 100644
index 3ffaf21..0000000
--- a/plugins/essentials/CommandLineOverrides.scala
+++ /dev/null
@@ -1,27 +0,0 @@
-package cbt
-trait CommandLineOverrides extends DynamicOverrides{
- def `with`: Any = {
- lib.callReflective(
- newBuild[DynamicOverrides](
- context.copy(
- args = context.args.drop(2)
- )
- )( s"""
- ${context.args.lift(0).getOrElse("")}
- """ ),
- context.args.lift(1) orElse Some("void"),
- context
- )
- }
- def eval = {
- lib.callReflective(
- newBuild[CommandLineOverrides](
- context.copy(
- args = ( context.args.lift(0).map("println{ "+_+" }") ).toSeq
- )
- ){""},
- Some("with"),
- context
- )
- }
-}