mirror of
https://github.com/sbt/sbt.git
synced 2026-10-08 02:53:10 +02:00
Cleanup & simplify actions/add-alias
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
object A extends App {
|
||||
if(args(0).toBoolean) () else sys.error("Fail")
|
||||
object A {
|
||||
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")
|
||||
|
||||
Reference in New Issue
Block a user