Skip to content

Instantly share code, notes, and snippets.

@jbrechtel
Created January 17, 2012 23:02
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jbrechtel/1629639 to your computer and use it in GitHub Desktop.
sbt task dependencies in parallel vs serial
//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