fixes #8: show hint where to find the old `dependency-graph` implementation

This commit is contained in:
Johannes Rudolph 2012-10-21 19:42:04 +02:00
parent 2fe1989322
commit b5de4e9683
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ object Plugin extends sbt.Plugin {
(force, moduleGraph, streams) map { (force, graph, streams) =>
if (force || graph.nodes.size < 15) {
streams.log.info(IvyGraphMLDependencies.asciiGraph(graph))
streams.log.info("\n\n")
streams.log.info("Note: The old tree layout is still available by using `dependency-tree`")
} else {
streams.log.info(IvyGraphMLDependencies.asciiTree(graph))