diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-15 01:10:35 -0400 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-19 21:13:49 -0400 |
commit | 1da86970a6f6a801fa42c1cc4e0468bbb74e4ef4 (patch) | |
tree | c52e755b55d8ff5915db4464b0b4912f17692dba /stage2 | |
parent | a5f4db210aa2878eb8e15a6d9fe5235199d4aee6 (diff) | |
download | cbt-1da86970a6f6a801fa42c1cc4e0468bbb74e4ef4.tar.gz cbt-1da86970a6f6a801fa42c1cc4e0468bbb74e4ef4.tar.bz2 cbt-1da86970a6f6a801fa42c1cc4e0468bbb74e4ef4.zip |
Add cbt admin dependencyTree
Diffstat (limited to 'stage2')
-rw-r--r-- | stage2/AdminTasks.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/stage2/AdminTasks.scala b/stage2/AdminTasks.scala index da4df9f..f825cc1 100644 --- a/stage2/AdminTasks.scala +++ b/stage2/AdminTasks.scala @@ -12,6 +12,13 @@ class AdminTasks(lib: Lib, args: Array[String], cwd: File){ } ) } + def dependencyTree = { + args(1).split(",").toVector.map{ + d => + val v = d.split(":") + new JavaDependency(v(0),v(1),v(2))(lib.logger).dependencyTree + }.mkString("\n\n") + } def amm = ammonite def ammonite = { val version = args.lift(1).getOrElse(constants.scalaVersion) |