Repository: bigtop Updated Branches: refs/heads/master 51ede841a -> 32c5e7c36
BIGTOP-1696. Provide build command to show BOM list Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/bc1c2a42 Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/bc1c2a42 Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/bc1c2a42 Branch: refs/heads/master Commit: bc1c2a42ef0e5a4f02ebddfa604e2b48b112fc7b Parents: 51ede84 Author: Konstantin Boudnik <[email protected]> Authored: Fri Feb 20 13:58:40 2015 -0800 Committer: Konstantin Boudnik <[email protected]> Committed: Mon Feb 23 13:49:50 2015 -0800 ---------------------------------------------------------------------- packages.gradle | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bigtop/blob/bc1c2a42/packages.gradle ---------------------------------------------------------------------- diff --git a/packages.gradle b/packages.gradle index 2608f43..a35d5bc 100644 --- a/packages.gradle +++ b/packages.gradle @@ -97,6 +97,13 @@ task "packages-help" (description: "All package build related tasks information" } } +task "all-components" (description: "List the components of the stack") << { + println "${project.name} ${BOM_map['BIGTOP_VERSION']} stack includes the following components" + components.sort().each { comp -> + println sprintf ('\t%1$s %2$s', comp.toLowerCase().padRight(20), BOM_map[comp + "_BASE_VERSION"].padLeft(10)) + } +} + def genTasks = { target, variable -> Task t = task "${target}-download" (dependsOn: "${target}_vardefines", description: "Download $target artifacts",
