aboutsummaryrefslogtreecommitdiff
path: root/bdep/new.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-08-29 15:41:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-08-29 15:41:07 +0200
commit4f841757b84ddb2cf844252633dc2403569aa066 (patch)
tree0fe5bd6e89682a535e898d64adc2f27590119e63 /bdep/new.cli
parent2abd895682ec8707f30fc6babbf3787e00a8c280 (diff)
Add unit-tests option to bdep-new
If specified (-t exe,unit-tests or -t lib,unit-tests) then generate build infrastructure for unit testing.
Diffstat (limited to 'bdep/new.cli')
-rw-r--r--bdep/new.cli12
1 files changed, 9 insertions, 3 deletions
diff --git a/bdep/new.cli b/bdep/new.cli
index d7e3ed0..688f14c 100644
--- a/bdep/new.cli
+++ b/bdep/new.cli
@@ -76,6 +76,8 @@ namespace bdep
project options:
\cb{no-tests} \- Don't add support for functional/integration testing.
+
+ \cb{unit-tests} \- Add support for unit testing.
|
\li|\cb{lib}
@@ -84,14 +86,16 @@ namespace bdep
options:
\cb{no-tests} \- Don't add support for functional/integration testing.
- |
+
+ \cb{unit-tests} \- Add support for unit testing.
+ |
\li|\cb{bare}
A project without any source code. Recognized bare project options:
- \cb{no-tests} \- Don't add support for functional/integration testing.
- |
+ \cb{no-tests} \- Don't add support for testing.
+ |
\li|\cb{empty}
@@ -142,11 +146,13 @@ namespace bdep
class cmd_new_exe_options
{
bool no-tests;
+ bool unit-tests;
};
class cmd_new_lib_options
{
bool no-tests;
+ bool unit-tests;
};
class cmd_new_bare_options