Created
December 31, 2011 20:30
-
-
Save eed3si9n/1545256 to your computer and use it in GitHub Desktop.
displays internal source deps
This file contains hidden or 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
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