Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ターゲット「パッケージ」をターゲット「テスト」に依存させるにはどうすればよいですか?
ここに解決策があります:テストを実行するようにsbt 0.11を強制します が、xsbt-web-pluginでは実際には機能しません。
これが私がしたことです:
Keys.`package` <<= (test in Test, Keys.`package` in Compile) map { (_, in) => println("after package & test") in }
テストを実行し、テストが成功した場合はパッケージタスクを実行します。(lift-2.5-RC2の新規インストールでテスト済み)