mirror of
https://github.com/sbt/sbt.git
synced 2026-09-03 08:34:34 +02:00
Start lightweight client
This is the beginning of a lightweight client, which talks to the server over Contraband-generated JSON API. Given that the server is started on port 5173: ``` $ cd /tmp/bogus $ sbt client localhost:5173 > compile StatusEvent(Processing, Vector(compile, server)) StatusEvent(Ready, Vector()) StatusEvent(Processing, Vector(, server)) StatusEvent(Ready, Vector()) ```
This commit is contained in:
@@ -115,7 +115,7 @@ object BuiltinCommands {
|
||||
def DefaultCommands: Seq[Command] = Seq(ignore, help, completionsCommand, about, tasks, settingsCommand, loadProject,
|
||||
projects, project, reboot, read, history, set, sessionCommand, inspect, loadProjectImpl, loadFailed, Cross.crossBuild, Cross.switchVersion,
|
||||
Cross.crossRestoreSession, setOnFailure, clearOnFailure, stashOnFailure, popOnFailure, setLogLevel, plugin, plugins,
|
||||
ifLast, multi, shell, BasicCommands.server, continuous, eval, alias, append, last, lastGrep, export, boot, nop, call, exit, early, initialize, act) ++
|
||||
ifLast, multi, shell, BasicCommands.server, BasicCommands.client, continuous, eval, alias, append, last, lastGrep, export, boot, nop, call, exit, early, initialize, act) ++
|
||||
compatCommands
|
||||
def DefaultBootCommands: Seq[String] = LoadProject :: (IfLast + " " + Shell) :: Nil
|
||||
|
||||
|
||||
Reference in New Issue
Block a user