Skip to content

Commit

Permalink
build: disambiguate rollup progress message (angular#23318)
Browse files Browse the repository at this point in the history
All our package labels are `npm_package` so the bazel build reports a bunch of identical actions running, like

```
    Angular Packaging: rolling up npm_package; 31s darwin-sandbox
    Angular Packaging: rolling up npm_package; 30s darwin-sandbox
    Angular Packaging: rolling up npm_package; 29s darwin-sandbox
    Angular Packaging: rolling up npm_package; 27s darwin-sandbox
    Angular Packaging: rolling up npm_package; 26s darwin-sandbox
    Angular Packaging: rolling up npm_package; 23s darwin-sandbox
    Angular Packaging: rolling up npm_package; 19s darwin-sandbox
    Angular Packaging: rolling up npm_package; 11s darwin-sandbox
```
PR Close angular#23318
  • Loading branch information
alexeagle authored and wKoza committed Apr 13, 2018
1 parent f648ac3 commit 82cbfb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bazel/src/ng_package/ng_package.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def _rollup(ctx, rollup_config, entry_point, inputs, js_output, format = "es", p
if ctx.version_file:
other_inputs.append(ctx.version_file)
ctx.actions.run(
progress_message = "Angular Packaging: rolling up %s" % ctx.label.name,
progress_message = "ng_package: Rollup %s" % ctx.label,
mnemonic = "AngularPackageRollup",
inputs = inputs.to_list() + other_inputs,
outputs = [js_output, map_output],
Expand Down

0 comments on commit 82cbfb5

Please sign in to comment.