From 817ba792154689df004dbfff67d9ae54cc15584e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 10 Dec 2015 13:43:30 +0200 Subject: Add pkg-install|install and pkg-uninstall|uninstall commands --- bpkg/pkg-install | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 bpkg/pkg-install (limited to 'bpkg/pkg-install') diff --git a/bpkg/pkg-install b/bpkg/pkg-install new file mode 100644 index 0000000..501e76e --- /dev/null +++ b/bpkg/pkg-install @@ -0,0 +1,22 @@ +// file : bpkg/pkg-install -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BPKG_PKG_INSTALL +#define BPKG_PKG_INSTALL + +#include +#include // selected_package +#include +#include + +namespace bpkg +{ + inline int + pkg_install (const pkg_install_options& o, cli::scanner& args) + { + return pkg_command ("install", o, args); + } +} + +#endif // BPKG_PKG_INSTALL -- cgit v1.1