mirror of https://github.com/sbt/sbt.git
Commands starting with ';' will be split around ';', allowing multiple commands at the interactive prompt.
This commit is contained in:
parent
eb295fc54b
commit
30f3fdbfd7
|
|
@ -156,6 +156,7 @@ class xMain extends xsbti.AppMain
|
|||
arguments match
|
||||
{
|
||||
case "" :: tail => continue(project, tail, failAction)
|
||||
case x :: tail if x.startsWith(";") => continue(project, x.split(";").toList ::: arguments, failAction)
|
||||
case (ExitCommand | QuitCommand) :: _ => result( Exit(NormalExitCode) )
|
||||
case RebootCommand :: tail => reload( tail )
|
||||
case InteractiveCommand :: _ => continue(project, prompt(baseProject, project) :: arguments, interactiveContinue)
|
||||
|
|
|
|||
Loading…
Reference in New Issue