Skip to content

Instantly share code, notes, and snippets.

@eed3si9n
Created December 31, 2011 20:30
Show Gist options
  • Save eed3si9n/1545256 to your computer and use it in GitHub Desktop.
Save eed3si9n/1545256 to your computer and use it in GitHub Desktop.
displays internal source deps
TaskKey[Unit]("source-dep") <<= (fullClasspath in Runtime) map { (cp) =>
cp map { dir =>
val analysis = Defaults.extractAnalysis(dir)._2
analysis.relations.allSources map { file =>
println(file.getName.toString + " depends on " + analysis.relations.internalSrcDeps(file))
}
}
()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment