diff --git a/README.md b/README.md index 4eade7cbc..6d1a02f07 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Current -help output: To see the plugin in action, including the thrilling custom sbt command "help-names": - cd template-project && ../sbt -sbt-rc help-names + cd template-project && ../sbt -sbt-rc help-names zomg zomg2 The template files are: diff --git a/template-project/build.sbt b/template-project/build.sbt new file mode 100644 index 000000000..38cf37011 --- /dev/null +++ b/template-project/build.sbt @@ -0,0 +1,3 @@ +simple_task("zomg") is { println("ZOMG") } + +simple_task("zomg2") on (name, version) is { (n,v) => println("ZOMG " + n + " = " + v + " !!!!!") } diff --git a/template-project/project/Build.scala b/template-project/project/Build.scala index e10479236..9e4f80e1f 100644 --- a/template-project/project/Build.scala +++ b/template-project/project/Build.scala @@ -1,4 +1,4 @@ import sbt._ import template.TemplateBuild -object MyAwesomeBuild extends TemplateBuild {} +object MyAwesomeBuild extends TemplateBuild { }