aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-04-20 15:06:10 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-04-20 15:06:10 +0200
commit7839410d934bb36fdac2e4125c72febf73991320 (patch)
treedefe0fe27a063a463ae345b2c402e3c9abdc6661
parent084046cffaeaeaa49a78950656b769fd84d7a17b (diff)
Add commented-out 'depends: libhello' for new exe projects
-rw-r--r--bdep/new.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 7b57ed1..97c8352 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -134,6 +134,8 @@ namespace bdep
<< "email: you@example.org" << endl
<< "depends: * build2 >= 0.7.0-" << endl
<< "depends: * bpkg >= 0.7.0-" << endl;
+ if (t == type::exe)
+ os << "#depends: libhello >= 1.0.0" << endl;
os.close ();
// repositories.manifest