diff options
| author | ras0219 <533828+ras0219@users.noreply.github.com> | 2020-08-10 10:22:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-10 10:22:51 -0700 |
| commit | 481738beaeb77bca19ff7fa01b4c02be7fc9deb2 (patch) | |
| tree | 00c985177f75b190abfc58f12600f293d10b5d25 /toolsrc/include | |
| parent | ed474ea9344a39d917e2b0719192502650cbd536 (diff) | |
| download | vcpkg-481738beaeb77bca19ff7fa01b4c02be7fc9deb2.tar.gz vcpkg-481738beaeb77bca19ff7fa01b4c02be7fc9deb2.zip | |
[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 <roschuma@microsoft.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/base/system.process.h | 6 |
1 files changed, 6 insertions, 0 deletions
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; } |
