aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bdep/new.cxx14
1 files changed, 14 insertions, 0 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 7d7b9ec..550acac 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -94,6 +94,20 @@ namespace bdep
<< "depends: * bpkg >= 0.7.0-" << endl;
os.close ();
+ // repositories.manifest
+ //
+ os.open (f = prj / "repositories.manifest");
+ os << ": 1" << endl
+ << "# To add a repository for a dependency, uncomment the" << endl
+ << "# next four lines and specify its location." << endl
+ << "#role: prerequisite" << endl
+ << "#location: ..." << endl
+ << "#" << endl
+ << "#:" << endl
+ << "role: base" << endl
+ << "summary: " << n << " project repository" << endl;
+ os.close ();
+
// build/
//
dir_path bd (dir_path (prj) /= "build");