Cleanup & simplify actions/add-alias

This commit is contained in:
Dale Wijnand 2018-01-24 13:10:39 +00:00
parent 6038ec51c3
commit 705eeddf5c
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
2 changed files with 5 additions and 3 deletions

View File

@ -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")
}
} }

View File

@ -1,2 +1,2 @@
addCommandAlias("demo-success", "run true") ++ addCommandAlias("demo-success", "run true")
addCommandAlias("demo-failure", "run false") addCommandAlias("demo-failure", "run false")