diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-21 14:42:26 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-04-21 18:06:53 -0700 |
| commit | 0090f6a75d749b9d34094fd94045f749bd5408cd (patch) | |
| tree | 90f6b22b7abe4bd98c7e768180ad363ee88f1acd /toolsrc/src/commands_export.cpp | |
| parent | 0c47e6e04ac211719da62d302a1dbd147854dd93 (diff) | |
| download | vcpkg-0090f6a75d749b9d34094fd94045f749bd5408cd.tar.gz vcpkg-0090f6a75d749b9d34094fd94045f749bd5408cd.zip | |
`export`: Suppress output of nuget creation
Diffstat (limited to 'toolsrc/src/commands_export.cpp')
| -rw-r--r-- | toolsrc/src/commands_export.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolsrc/src/commands_export.cpp b/toolsrc/src/commands_export.cpp index d86e14ab5..d20164d1a 100644 --- a/toolsrc/src/commands_export.cpp +++ b/toolsrc/src/commands_export.cpp @@ -92,7 +92,7 @@ namespace vcpkg::Commands::Export const fs::path& nuget_exe = paths.get_nuget_exe(); // -NoDefaultExcludes is needed for ".vcpkg-root" - const std::wstring cmd_line = Strings::wformat(LR"("%s" pack -OutputDirectory "%s" "%s" -NoDefaultExcludes)", nuget_exe.native(), paths.root.native(), nuspec_file_path.native()); + const std::wstring cmd_line = Strings::wformat(LR"("%s" pack -OutputDirectory "%s" "%s" -NoDefaultExcludes > nul)", nuget_exe.native(), paths.root.native(), nuspec_file_path.native()); const int exit_code = System::cmd_execute_clean(cmd_line); Checks::check_exit(VCPKG_LINE_INFO, exit_code == 0, "Error: NuGet package creation failed"); |
