From a7462a787fc45bee5e8010686333d1edbf7f3963 Mon Sep 17 00:00:00 2001 From: Klaus Aehlig Date: Tue, 5 Jul 2022 16:13:59 +0200 Subject: Remove option --persistent ... as the --request-action-input option provides a clean way of restoring the inputs to a specific action, without the need of interacting with the internal directory structure of the tool. In particular, the new option also works for remote builds. --- src/buildtool/common/cli.hpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/buildtool/common/cli.hpp') diff --git a/src/buildtool/common/cli.hpp b/src/buildtool/common/cli.hpp index 4d5df1bf..e677924c 100644 --- a/src/buildtool/common/cli.hpp +++ b/src/buildtool/common/cli.hpp @@ -70,7 +70,6 @@ struct BuildArguments { std::size_t build_jobs{}; std::optional dump_artifacts{std::nullopt}; std::optional print_to_stdout{std::nullopt}; - bool persistent_build_dir{false}; bool show_runfiles{false}; }; @@ -260,10 +259,6 @@ static inline auto SetupEndpointArguments( static inline auto SetupBuildArguments( gsl::not_null const& app, gsl::not_null const& clargs) { - app->add_flag("-p,--persistent", - clargs->persistent_build_dir, - "Do not clean build directory after execution."); - app->add_option_function( "-L,--local-launcher", [clargs](auto const& launcher_raw) { -- cgit v1.2.3