From 2319d01e262b705716e19474865f555f3ca81a7d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 1 May 2017 13:50:13 +0300 Subject: Add hxx extension for headers and lib prefix for library dirs --- bpkg/pkg-update.hxx | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 bpkg/pkg-update.hxx (limited to 'bpkg/pkg-update.hxx') diff --git a/bpkg/pkg-update.hxx b/bpkg/pkg-update.hxx new file mode 100644 index 0000000..5f62bd9 --- /dev/null +++ b/bpkg/pkg-update.hxx @@ -0,0 +1,33 @@ +// file : bpkg/pkg-update.hxx -*- C++ -*- +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BPKG_PKG_UPDATE_HXX +#define BPKG_PKG_UPDATE_HXX + +#include +#include // selected_package +#include + +#include +#include + +namespace bpkg +{ + inline int + pkg_update (const pkg_update_options& o, cli::scanner& args) + { + return pkg_command ("update", o, args); + } + + inline void + pkg_update (const dir_path& configuration, + const common_options& o, + const strings& common_vars, + const vector& pkgs) + { + pkg_command ("update", configuration, o, common_vars, pkgs); + } +} + +#endif // BPKG_PKG_UPDATE_HXX -- cgit v1.1