Reputation: 1165
How to run sbt command and open shell after it's executed?
Something like:
$ sbt package shell
so that after 'package' task is executed sbt opens its shell so I can run further commands there.
Upvotes: 0
Views: 646
Reputation: 62835
If you're running on Linux, OSX or another Unix flavour you can write this:
sbt package && sbt
Here I'm using Unix pipes, to run naked sbt command which opens shell only if previous sbt package
succeed.
Upvotes: 1