mirror of https://github.com/sbt/sbt.git
Added zomg and zomg2 to template-project.
This commit is contained in:
parent
f45764c7c1
commit
c38f8ccfc0
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,3 @@
|
|||
simple_task("zomg") is { println("ZOMG") }
|
||||
|
||||
simple_task("zomg2") on (name, version) is { (n,v) => println("ZOMG " + n + " = " + v + " !!!!!") }
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
import sbt._
|
||||
import template.TemplateBuild
|
||||
|
||||
object MyAwesomeBuild extends TemplateBuild {}
|
||||
object MyAwesomeBuild extends TemplateBuild { }
|
||||
|
|
|
|||
Loading…
Reference in New Issue