scala - What is the first semicolon in `addCommandAlias` method used for in SBT? -
for example, have write alias this:
addcommandalias("make-idea", ";updateclassifiers; updatesbtclassifiers; gen-idea sbt-classifiers")
instead of
addcommandalias("make-idea", "updateclassifiers; updatesbtclassifiers; gen-idea sbt-classifiers")
if skip first semicolon, sbt complain.. have ideas first ;
in second argument of addcommandalias
do?
this sbt's syntax specify multiple commands. normal sbt cli behavior , not specific addcommandalias
.
the same happens in sbt shell:
sbt> updateclassifiers; updatesbtclassifiers; gen-idea sbt-classifiers [error] expected id character // etc. sbt> ; updateclassifiers; updatesbtclassifiers; gen-idea sbt-classifiers // expected
Comments
Post a Comment