diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-22 22:49:19 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-10-31 17:33:32 +0300 |
commit | dad48d98b1a57706179c34853950588ec75a8467 (patch) | |
tree | 307cf55b44e88b2f6cc154c58cc74683040000ca /bpkg/satisfaction.cxx | |
parent | 6bbf6390d95941cd5ead6eba649edc2a7fec9d21 (diff) |
Add support for package version constraint in pkg-build command arguments
Also document tests, examples, and benchmarks package manifest values.
Diffstat (limited to 'bpkg/satisfaction.cxx')
-rw-r--r-- | bpkg/satisfaction.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 ()); |