aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-19 15:34:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-19 15:34:07 +0200
commit3c7b982cb93daef41805a8d8d5c9c75737a19bdd (patch)
tree18d175c4937f940b16a7da47fc48419c90735c0d
parent52e7c38c18e5b627acc67f0977e7240d0f60cd8f (diff)
Adjust new command to new way of specifying testscript, manifest
-rw-r--r--bdep/new.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx
index 11b312e..764552c 100644
--- a/bdep/new.cxx
+++ b/bdep/new.cxx
@@ -314,7 +314,7 @@ namespace bdep
// buildfile
//
os.open (f = out / "buildfile");
- os << "./: {*/ -build/} file{manifest}" << endl;
+ os << "./: {*/ -build/} manifest" << endl;
if (tests && t == type::lib) // Have tests/ subproject.
os << endl
<< "# Don't install tests." << endl
@@ -398,7 +398,7 @@ namespace bdep
case lang::c:
{
os << "exe{" << n << "}: {h c}{*} $libs" <<
- (tests ? " test{testscript}" : "") << endl;
+ (tests ? " testscript" : "") << endl;
x = "c";
break;
@@ -406,7 +406,7 @@ namespace bdep
case lang::cxx:
{
os << "exe{" << n << "}: {hxx ixx txx cxx}{*} $libs" <<
- (tests ? " test{testscript}" : "") << endl;
+ (tests ? " testscript" : "") << endl;
x = "cxx";
break;
@@ -683,7 +683,7 @@ namespace bdep
<< "# pick up an installed one) and don't remove it when cleaning in src (so that" << endl
<< "# clean results in a state identical to distributed)." << endl
<< "#" << endl
- << h << "{version}: in{version} $src_root/file{manifest}" << endl
+ << h << "{version}: in{version} $src_root/manifest" << endl
<< h << "{version}: dist = true" << endl
<< h << "{version}: clean = ($src_root != $out_root)" << endl
<< endl