mirror of https://github.com/sbt/sbt.git
Cleanup & simplify actions/add-alias
This commit is contained in:
parent
6038ec51c3
commit
705eeddf5c
|
|
@ -1,3 +1,5 @@
|
||||||
object A extends App {
|
object A {
|
||||||
if(args(0).toBoolean) () else sys.error("Fail")
|
def main(args: Array[String]): Unit = {
|
||||||
|
if (args(0).toBoolean) () else sys.error("Fail")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
addCommandAlias("demo-success", "run true") ++
|
addCommandAlias("demo-success", "run true")
|
||||||
addCommandAlias("demo-failure", "run false")
|
addCommandAlias("demo-failure", "run false")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue