From 481738beaeb77bca19ff7fa01b4c02be7fc9deb2 Mon Sep 17 00:00:00 2001 From: ras0219 <533828+ras0219@users.noreply.github.com> Date: Mon, 10 Aug 2020 10:22:51 -0700 Subject: [vcpkg] Add `vcpkg export` to E2E tests. Enable E2E tests on all platforms. (#12198) * [vcpkg] Add `vcpkg export` to E2E tests. Enable E2E tests on MacOS. * [vcpkg] Fix export --raw --output-dir=/path/ by changing directory to new export root Co-authored-by: Robert Schumacher Co-authored-by: Billy Robert O'Neal III --- toolsrc/include/vcpkg/base/system.process.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'toolsrc/include') diff --git a/toolsrc/include/vcpkg/base/system.process.h b/toolsrc/include/vcpkg/base/system.process.h index 91faa5985..b9184c05c 100644 --- a/toolsrc/include/vcpkg/base/system.process.h +++ b/toolsrc/include/vcpkg/base/system.process.h @@ -27,6 +27,12 @@ namespace vcpkg::System { CmdLineBuilder& path_arg(const fs::path& p) { return string_arg(p.u8string()); } CmdLineBuilder& string_arg(StringView s); + CmdLineBuilder& ampersand() + { + buf.push_back('&'); + buf.push_back('&'); + return *this; + } std::string extract() noexcept { return std::move(buf); } operator ZStringView() const { return buf; } -- cgit v1.2.3