diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2018-03-28 14:21:58 +0200 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-04-19 19:39:55 +0300 |
commit | 7251109c82b16c30410803ef375fe1012445873d (patch) | |
tree | d980dfd3cc918ad9083eca554c1963cac380b5ac | |
parent | 33344dd53ec093e0d7129cb0f8a26dc28dec4d86 (diff) |
Add --{upgrade,patch}-{immediate,recursive} pkg-build options
-rw-r--r-- | bpkg/pkg-build.cli | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/bpkg/pkg-build.cli b/bpkg/pkg-build.cli index 8312450..8629f8c 100644 --- a/bpkg/pkg-build.cli +++ b/bpkg/pkg-build.cli @@ -171,6 +171,29 @@ namespace bpkg "Also upgrade or patch all dependencies, recursively." } + // Sometimes we may want to upgrade/patch the package itself but to + // patch/upgrade its dependencies. + // + bool --upgrade-immediate + { + "Upgrade immediate dependencies." + } + + bool --patch-immediate + { + "Patch immediate dependencies." + } + + bool --upgrade-recursive + { + "Upgrade all dependencies, recursively." + } + + bool --patch-recursive + { + "Patch all dependencies, recursively." + } + bool --dependency { "Build, upgrade, or downgrade a package as a dependency rather than to |