Created
May 17, 2012 08:07
-
-
Save yamashiro/2717307 to your computer and use it in GitHub Desktop.
sbtで既存のタスクの前に処理を実行したいのだが…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val hello = TaskKey[Unit]("hello") | |
val helloTask = hello <<= streams map { (s: TaskStreams) => | |
s.log.info("Hello!") | |
println("hello") | |
} | |
val compile = TaskKey[Unit]("compile") | |
compile <<= (compile in Compile) dependsOn (hello) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
マルチプロジェクト構成で、ここの project の build.sbt に似たようなコード書いたら動いた… orz