From c02d4eeb02c06dcd0e3340bb3681f250d468922d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 16 Mar 2018 16:58:31 +0200 Subject: Generate template repositories.manifest in new command --- bdep/new.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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"); -- cgit v1.1