Created
January 17, 2012 23:02
-
-
Save jbrechtel/1629639 to your computer and use it in GitHub Desktop.
sbt task dependencies in parallel vs serial
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
//this runs the dependencies in parallel (undesirable) | |
buildAndRun <<= Seq(addScalaLib, packageDebug in Android, removeScalaLib, startDevice in Android).dependOn, | |
---- vs --- | |
//this runs the dependencies serially (desired) | |
buildAndRun <<= removeScalaLib, | |
buildAndRun <<= buildAndRun dependsOn (startDevice in Android), | |
buildAndRun <<= buildAndRun dependsOn (packageDebug in Android), | |
buildAndRun <<= buildAndRun dependsOn addScalaLib, | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment