aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2019-11-22 10:50:50 -0800
committerGitHub <noreply@github.com>2019-11-22 10:50:50 -0800
commit0791dbfc6b82d485c7de2f94fe1821d6f3bdaea0 (patch)
treee7d52cad7122ee704081942fb42bcccde4cc0a92 /toolsrc/include
parent1fa80c11968870ae4a99c6df99d5953dd298bd57 (diff)
parent018c265d71a40b316f1fe6d68411bc1804fd401e (diff)
downloadvcpkg-0791dbfc6b82d485c7de2f94fe1821d6f3bdaea0.tar.gz
vcpkg-0791dbfc6b82d485c7de2f94fe1821d6f3bdaea0.zip
Merge pull request #6891 from seanyen/vcpkg_nuget
[feature] add `vcpkg export --x-chocolatey` support
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/vcpkg/export.chocolatey.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/export.chocolatey.h b/toolsrc/include/vcpkg/export.chocolatey.h
new file mode 100644
index 000000000..7804108fd
--- /dev/null
+++ b/toolsrc/include/vcpkg/export.chocolatey.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <vcpkg/dependencies.h>
+#include <vcpkg/vcpkgpaths.h>
+
+#include <vector>
+
+namespace vcpkg::Export::Chocolatey
+{
+ struct Options
+ {
+ Optional<std::string> maybe_maintainer;
+ Optional<std::string> maybe_version_suffix;
+ };
+
+ void do_export(const std::vector<Dependencies::ExportPlanAction>& export_plan,
+ const VcpkgPaths& paths,
+ const Options& chocolatey_options);
+}