Hi bazel experts,
I have a repo at
https://github.com/wt/bazel_rules_nodejs.
I locally added the following line to examples/hello_world/BUILD:
alias(name="a", actual=":hello_world")
I was then able to successfully build ":hello_world" and ":a".
However, I am running into an issue with running the alias. The following command works:
However, the following fails:
Here's the output::
examples/hello_world$ bazel run :a
ERROR: Cannot run target //examples/hello_world:a: Not executable.
INFO: Elapsed time: 0.174s
ERROR: Build failed. Not running target.
Should the alias not also be runnable?
Thanks,
wt