Skip to content

Commit

Permalink
Add a --experimental_materialize_param_files_directly flag.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 281587580
  • Loading branch information
ericfelly authored and copybara-github committed Nov 20, 2019
1 parent 1f773ba commit 52e607b
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,14 @@ public class ExecutionOptions extends OptionsBase {
+ "This is implied by --subcommands.")
public boolean materializeParamFiles;

@Option(
name = "experimental_materialize_param_files_directly",
defaultValue = "false",
documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
effectTags = {OptionEffectTag.UNKNOWN},
help = "If materializing param files, do so with direct writes to disk.")
public boolean materializeParamFilesDirectly;

public boolean shouldMaterializeParamFiles() {
// Implied by --subcommands
return materializeParamFiles || showSubcommands != ActionExecutionContext.ShowSubcommands.FALSE;
Expand Down

0 comments on commit 52e607b

Please sign in to comment.