From f11d720f2fb62b46ad17d3aa3850140a4839f114 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 13 Dec 2017 14:20:54 +0200 Subject: Implement info meta operation This meta operation can be used to print basic information (name, version, source/output roots, etc) for one or more projects. --- build2/b.cli | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'build2/b.cli') diff --git a/build2/b.cli b/build2/b.cli index 8148702..724a676 100644 --- a/build2/b.cli +++ b/build2/b.cli @@ -276,7 +276,20 @@ namespace build2 \li|\cb{dist} Prepare a distribution containing all files necessary to perform all - operations in a project. Implemented by the \cb{dist} module.|| + operations in a project. Implemented by the \cb{dist} module.| + + \li|\cb{info} + + Print basic information (name, version, source and output + directories, etc) about one or more projects to \cb{STDOUT}, + separating multiple projects with a blank line. Each project is + identified by its root directory target. For example: + + \ + b info: libfoo/ libbar/ + \ + + || The build system has the following built-in and pre-defined operations: -- cgit v1.1