From 7221a63204a0b2a89e1c72fcbf9f2a7de0a575a3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 17 Sep 2015 14:05:22 +0200 Subject: Implement pkg-{configure, disfigure} commands --- bpkg/pkg-configure-options.cli | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bpkg/pkg-configure-options.cli (limited to 'bpkg/pkg-configure-options.cli') diff --git a/bpkg/pkg-configure-options.cli b/bpkg/pkg-configure-options.cli new file mode 100644 index 0000000..d1850c6 --- /dev/null +++ b/bpkg/pkg-configure-options.cli @@ -0,0 +1,36 @@ +// file : bpkg/pkg-configure-options.cli +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include ; + +/* +"\section=1" +"\name=bpkg-pkg-configure" + +"\h{SYNOPSIS} + +bpkg pkg-configure []" + +"\h{DESCRIPTION} + +The \cb{pkg-configure} command configures the output directory for +the previously unpacked (\cb{pkg-unpack}) package. The package +inherits the common \cb{build2} configuration values that were +specified when creating the \cb{bpkg} configuration (\cb{cfg-create}). +Additional, package-specific configuration variables can be specified +after the package name." +*/ + +namespace bpkg +{ + class pkg_configure_options: common_options + { + dir_path --directory|-d (".") + { + "", + "Assume configuration is in rather than in the current working + directory." + }; + }; +} -- cgit v1.1