aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-install')
-rw-r--r--bpkg/pkg-install22
1 files changed, 22 insertions, 0 deletions
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 <bpkg/types>
+#include <bpkg/forward> // selected_package
+#include <bpkg/pkg-command>
+#include <bpkg/pkg-install-options>
+
+namespace bpkg
+{
+ inline int
+ pkg_install (const pkg_install_options& o, cli::scanner& args)
+ {
+ return pkg_command ("install", o, args);
+ }
+}
+
+#endif // BPKG_PKG_INSTALL