LoginSignup
2

More than 5 years have passed since last update.

sbtのインタラクティブモードで、複数コマンドを続けて実行する方法

Posted at

コマンドラインでsbtを実行するときに、

$ sbt reload clean update compile test

のようにすると複数のコマンドを続けて実行できますが、
これと同じことをインタラクティブモードで実行するには、

$ sbt
> ;reload ;clean ;update ;compile ;test

とコマンドをセミコロン区切りにするとできます。

> sbt help
  ; <command> (; <command>)*              Runs the provided semicolon-separated commands.

ちょっとしたTipsでした。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2