diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-15 16:47:05 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2018-05-15 16:47:05 +0200 |
commit | 602b71ed970b8ca9fea19c0103be7a977179d50d (patch) | |
tree | 6d8bb45408b9ee7c09a3e91d975bb01d7f56878a /bdep/new.cli | |
parent | 0c2a4d6c3c832671a1f5647ab1b095adef2e985e (diff) |
Implement support for empty project type
Diffstat (limited to 'bdep/new.cli')
-rw-r--r-- | bdep/new.cli | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/bdep/new.cli b/bdep/new.cli index b0e7662..09c7a3e 100644 --- a/bdep/new.cli +++ b/bdep/new.cli @@ -29,7 +29,7 @@ namespace bdep \b{bdep new} [<options>] \b{--package} [<prj-spec>] <spec> <name>} \c{<spec> \ \ \ \ = [<type>] [<lang>] [<vcs>]\n - <type> \ \ \ \ = \b{--type}|\b{-t} (\b{exe}|\b{lib}|\b{bare})[\b{,}<type-opt>...]\n + <type> \ \ \ \ = \b{--type}|\b{-t} (\b{exe}|\b{lib}|\b{bare}|\b{empty})[\b{,}<type-opt>...]\n <lang> \ \ \ \ = \b{--lang}|\b{-l} (\b{c}|\b{c++})[\b{,}<lang-opt>...]\n <vcs> \ \ \ \ \ = \b{--vcs}|\b{-s} \ (\b{git}|\b{none})[\b{,}<vcs-opt>...]\n <prj-spec> = \b{--directory}|\b{-d} <prj-dir>\n @@ -89,7 +89,13 @@ namespace bdep A project without any source code. Recognized bare project options: \cb{no-tests} \- Don't add support for functional/integration testing. - || + | + + \li|\cb{empty} + + An empty project that can be filled with packages (see + \cb{--package}). Note that the project language is ignored for + this project type.|| The project language can be specified with the \c{\b{--lang}|\b{-l}} option. Valid values for this option and their semantics are described @@ -146,6 +152,10 @@ namespace bdep bool no-tests; }; + class cmd_new_empty_options + { + }; + // --lang options // class cmd_new_c_options @@ -199,9 +209,10 @@ namespace bdep { "<type>[,<opt>...]", "Specify project type and options. Valid values for <type> are \cb{exe} - (executable project, default), \cb{lib} (library project), and - \cb{bare} (bare project without any source code). Valid values for - <opt> are type-specific." + (executable project, default), \cb{lib} (library project), \cb{bare} + (bare project without any source code), and \cb{empty} (empty project + ready to be filled with packages). Valid values for <opt> are + type-specific." } cmd_new_lang --lang|-l |