aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-verify.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-12-22 22:42:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-01-15 13:22:50 +0300
commitcbd3cd125b574deaf1ad3c7001c5b6c9c40198ed (patch)
tree924cbe981a3e556dd1511a7397584ef03b53703d /bpkg/pkg-verify.cxx
parentd51aa769a5441ccb5279e2fc4f50b127db0dea84 (diff)
Add support for $ in package manifest dependency constraint
Diffstat (limited to 'bpkg/pkg-verify.cxx')
-rw-r--r--bpkg/pkg-verify.cxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx
index d14f606..3dc2a53 100644
--- a/bpkg/pkg-verify.cxx
+++ b/bpkg/pkg-verify.cxx
@@ -22,8 +22,9 @@ namespace bpkg
package_manifest
pkg_verify (const common_options& co,
const path& af,
- bool ev,
bool iu,
+ bool ev,
+ bool cd,
bool diag)
try
{
@@ -47,7 +48,7 @@ namespace bpkg
{
ifdstream is (move (pr.second.in_ofd), fdstream_mode::skip);
manifest_parser mp (is, mf.string ());
- package_manifest m (mp, iu);
+ package_manifest m (mp, iu, cd);
is.close ();
if (wait ())
@@ -216,8 +217,12 @@ namespace bpkg
//
try
{
- package_manifest m (
- pkg_verify (o, a, o.deep (), o.ignore_unknown (), !o.silent ()));
+ package_manifest m (pkg_verify (o,
+ a,
+ o.ignore_unknown (),
+ o.deep () /* expand_values */,
+ o.deep () /* complete_depends */,
+ !o.silent ()));
if (o.manifest ())
{