From fec61ff1452369badcad35727aeb16ade2c1320a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 15 Feb 2024 06:52:40 +0200 Subject: Minor tweaks to [PACKAGE-]README.md generated by bdep-new --- bdep/new.cxx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bdep/new.cxx b/bdep/new.cxx index 3bd0885..139fe17 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -318,7 +318,7 @@ namespace bdep << '\n' << "## Usage" << '\n' << '\n' - << "To start using this library in your project, add the following `depends`" << '\n' + << "To start using `" << p << "` in your project, add the following `depends`" << '\n' << "value to your `manifest`, adjusting the version constraint as appropriate:" << '\n' << '\n' << "```" << '\n' @@ -387,10 +387,13 @@ namespace bdep } os << '\n' + << "Note that the `" << p << "` executable in this package provides `build2` metadata." << '\n'; + + os << '\n' << '\n' << "## Usage" << '\n' << '\n' - << "To start using this executable in your project, add the following build-time" << '\n' + << "To start using `" << p << "` in your project, add the following build-time" << '\n' << "`depends` value to your `manifest`, adjusting the version constraint as" << '\n' << "appropriate:" << '\n' << '\n' @@ -401,10 +404,8 @@ namespace bdep << "Then import the executable in your `buildfile`:" << '\n' << '\n' << "```" << '\n' - << "import = " << p << "%exe{}" << '\n' - << "```" << '\n' - << '\n' - << "Note that the `` executable provides `build2` metadata." << '\n'; + << "import! [metadata] = " << p << "%exe{}" << '\n' + << "```" << '\n'; os << '\n' << '\n' -- cgit v1.1