From dad48d98b1a57706179c34853950588ec75a8467 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 22 Oct 2019 22:49:19 +0300 Subject: Add support for package version constraint in pkg-build command arguments Also document tests, examples, and benchmarks package manifest values. --- bpkg/satisfaction.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bpkg/satisfaction.cxx') diff --git a/bpkg/satisfaction.cxx b/bpkg/satisfaction.cxx index 53fd3b8..c3c4995 100644 --- a/bpkg/satisfaction.cxx +++ b/bpkg/satisfaction.cxx @@ -15,7 +15,7 @@ using namespace butl; namespace bpkg { bool - satisfies (const version& v, const dependency_constraint& c) + satisfies (const version& v, const version_constraint& c) { assert (!c.empty () && c.complete ()); @@ -25,7 +25,7 @@ namespace bpkg bool s (true); // Here an absent revision means zero revision and version X must satisfy - // the [X+0 ...) dependency constraint. Note that technically X < X+0. + // the [X+0 ...) version constraint. Note that technically X < X+0. // version ev (v.epoch, v.upstream, @@ -52,7 +52,7 @@ namespace bpkg } bool - satisfies (const dependency_constraint& l, const dependency_constraint& r) + satisfies (const version_constraint& l, const version_constraint& r) { assert (!l.empty () && l.complete () && !r.empty () && r.complete ()); -- cgit v1.1