From 1f8fd04075b6a5524641abfa48e7abf382f955d7 Mon Sep 17 00:00:00 2001 From: Ezekiel Warren Date: Wed, 3 Apr 2024 19:51:58 -0700 Subject: [PATCH] feat: configurable ecsact build report filter (#45) --- ecsact/private/ecsact_binary.bzl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ecsact/private/ecsact_binary.bzl b/ecsact/private/ecsact_binary.bzl index 5d18585..cee9256 100644 --- a/ecsact/private/ecsact_binary.bzl +++ b/ecsact/private/ecsact_binary.bzl @@ -40,7 +40,9 @@ def _ecsact_binary_impl(ctx): args.add("-o", runtime_output_file) args.add("--temp_dir", temp_dir.path) args.add("-f", "text") - args.add("--report_filter", "errors_and_warnings") + + report_filter = ctx.var.get("ECSACT_CLI_REPORT_FILTER", "errors_and_warnings") + args.add("--report_filter", report_filter) compiler_config = { "compiler_type": "auto",