2017-08-28 18:54:19 +08:00
|
|
|
#pragma once
|
|
|
|
|
2017-10-05 06:58:05 +08:00
|
|
|
#include "VcpkgPaths.h"
|
2017-08-28 18:54:19 +08:00
|
|
|
#include "vcpkg_Dependencies.h"
|
2017-10-05 06:58:05 +08:00
|
|
|
#include "vcpkg_Files.h"
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2017-08-28 18:54:19 +08:00
|
|
|
|
|
|
|
namespace vcpkg::Commands::Export::IFW
|
|
|
|
{
|
2017-09-22 07:16:14 +08:00
|
|
|
struct Options
|
|
|
|
{
|
|
|
|
Optional<std::string> maybe_repository_url;
|
|
|
|
Optional<std::string> maybe_packages_dir_path;
|
2017-09-27 07:57:51 +08:00
|
|
|
Optional<std::string> maybe_repository_dir_path;
|
2017-09-22 07:16:14 +08:00
|
|
|
Optional<std::string> maybe_config_file_path;
|
2017-09-27 07:57:51 +08:00
|
|
|
Optional<std::string> maybe_installer_file_path;
|
2017-09-22 07:16:14 +08:00
|
|
|
};
|
|
|
|
|
2017-10-05 06:58:05 +08:00
|
|
|
void do_export(const std::vector<Dependencies::ExportPlanAction>& export_plan,
|
|
|
|
const std::string& export_id,
|
|
|
|
const Options& ifw_options,
|
|
|
|
const VcpkgPaths& paths);
|
2017-08-28 18:54:19 +08:00
|
|
|
}
|