Fernando Romero
Fernando Romero

Reputation: 21

What is the simplest way to run sbt re-start before sbt it:test and sbt re-stop afterwards?

I need to do the following in sequential order.

  1. Start spray-can server (sbt re-start).
  2. Run integration tests (sbt it:test).
  3. Stop spray-can server (sbt re-stop).

Can't make it work with sbt-sequential plugin since Revolver.reStart is not a Task.

Upvotes: 2

Views: 292

Answers (0)

Related Questions