aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-command.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-11-01 15:53:40 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-11-01 17:58:27 +0300
commitb1f343f5d20ea0c52a7265d134094035da13b806 (patch)
tree56529e03437e93791efa0473be89d29a23d08d2b /bpkg/pkg-command.hxx
parentaf498a19d6c9c42748521225b7daae671a5f58b5 (diff)
Add --package-cwd option to bpkg-pkg-test
Diffstat (limited to 'bpkg/pkg-command.hxx')
-rw-r--r--bpkg/pkg-command.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/bpkg/pkg-command.hxx b/bpkg/pkg-command.hxx
index b649491..b8c5e3f 100644
--- a/bpkg/pkg-command.hxx
+++ b/bpkg/pkg-command.hxx
@@ -28,12 +28,15 @@ namespace bpkg
bool recursive,
bool immediate,
bool all,
+ bool package_cwd,
cli::group_scanner& args);
struct pkg_command_vars
{
shared_ptr<selected_package> pkg;
strings vars; // Package-specific command line vars.
+
+ bool cwd; // Change the working directory to the package directory.
};
void