Skip to content

Commit

Permalink
Actions should offer a proper mnemonic
Browse files Browse the repository at this point in the history
- All actions should have a mnemonic. This allows centrally setting certain
  attributes for all actions of a certain kind
- Use 'Dwyu' prefix to make sure they are unique
  • Loading branch information
martis42 committed May 29, 2024
1 parent a81431e commit 84f9021
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aspect/dwyu.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def _process_target(ctx, target, defines, output_path, is_target_under_inspectio
inputs = header_files,
executable = ctx.executable._process_target,
arguments = [args],
mnemonic = "DwyuProcessTargetInfo",
outputs = [processing_output],
)

Expand Down Expand Up @@ -248,7 +249,7 @@ def dwyu_aspect_impl(target, ctx):
executable = ctx.executable._dwyu_binary,
inputs = analysis_inputs,
outputs = [report_file],
mnemonic = "CompareIncludesToDependencies",
mnemonic = "DwyuAnalyzeIncludes",
progress_message = "Analyze dependencies of {}".format(target.label),
arguments = [args],
)
Expand Down

0 comments on commit 84f9021

Please sign in to comment.