Skip to content

Commit

Permalink
build: add mnemonics to actions (#2420)
Browse files Browse the repository at this point in the history
Mnemonic help with `bazel aquery` and improves general debuggability.
  • Loading branch information
stephanwlee authored Jul 12, 2019
1 parent 2b5cf8f commit cbfa27d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tensorboard/defs/vulcanize.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def _tensorboard_html_binary(ctx):
ignore_regexs_file_path] +
[f.path for f in jslibs.to_list()] +
[f.path for f in manifests.to_list()]),
mnemonic="Vulcanize",
progress_message="Vulcanizing %s" % ctx.attr.input_path)

# webfiles manifest
Expand Down
1 change: 1 addition & 0 deletions tensorboard/defs/web.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ def _tf_web_library(ctx):
[er_config.path] +
[f.path for f in ts_typings_execroots.to_list()]
),
mnemonic="Tsc",
progress_message="Compiling %d TypeScript files %s" % (
len(ts_files), ctx.label))

Expand Down
1 change: 1 addition & 0 deletions tensorboard/defs/zipper.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ def _tensorboard_zip_file(ctx):
webpaths = depset(transitive=[webpaths, dep.webfiles.webpaths])
files = depset(transitive=[files, dep.data_runfiles.files])
ctx.actions.run(
mnemonic="Zipper",
inputs=depset(transitive=[manifests, files]).to_list(),
outputs=[ctx.outputs.zip],
executable=ctx.executable._Zipper,
Expand Down

0 comments on commit cbfa27d

Please sign in to comment.