diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-18 02:32:37 -0700 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-27 22:52:55 -0700 |
| commit | 039abe258b956fe51b5893b3fb2d20661f2a8eb4 (patch) | |
| tree | ebd199d78bf4da1bfba35726073c1594962064a9 | |
| parent | 468bfeb56e29e0130a1b56adb4c23fdba403221e (diff) | |
| download | vcpkg-039abe258b956fe51b5893b3fb2d20661f2a8eb4.tar.gz vcpkg-039abe258b956fe51b5893b3fb2d20661f2a8eb4.zip | |
[ci] Don't block binarycaching = false
| -rw-r--r-- | toolsrc/src/vcpkg/commands.ci.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg/commands.ci.cpp b/toolsrc/src/vcpkg/commands.ci.cpp index 04b42ea00..e2b93dc7e 100644 --- a/toolsrc/src/vcpkg/commands.ci.cpp +++ b/toolsrc/src/vcpkg/commands.ci.cpp @@ -154,8 +154,10 @@ namespace vcpkg::Commands::CI void perform_and_exit(const VcpkgCmdArguments& args, const VcpkgPaths& paths, const Triplet& default_triplet) { - Checks::check_exit( - VCPKG_LINE_INFO, GlobalState::g_binary_caching, "The ci command requires binary caching to be enabled."); + if (!GlobalState::g_binary_caching) + { + System::println(System::Color::warning, "Warning: Running ci without binary caching!"); + } const ParsedArguments options = args.parse_arguments(COMMAND_STRUCTURE); |
