nau
nau

Reputation: 1165

How to run sbt command and open shell after it's executed

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

Answers (1)

om-nom-nom
om-nom-nom

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

Related Questions