Skip to content

Instantly share code, notes, and snippets.

@sirmax
Last active June 26, 2018 15:51
Show Gist options
  • Save sirmax/8de75713160771f44aca99fa536e2e04 to your computer and use it in GitHub Desktop.
Save sirmax/8de75713160771f44aca99fa536e2e04 to your computer and use it in GitHub Desktop.
Changes in one module triggers `~` in another. E.g. changes in `sub2.scala` trigger `~sub1/compile`.
# build.properties
sbt.version=1.1.6
lazy val root = project.in(file("."))
.aggregate(sub1, sub2)
lazy val sub1 = project
lazy val sub2 = project
// sub1/src/main/scala/sub1.scala
object sub1 {
}
// sub2/src/main/scala/sub2.scala
object sub2 {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment