-
Notifications
You must be signed in to change notification settings - Fork 4.4k
@wkspc shorthand label syntax works as a dependency but not on command line #4385
Copy link
Copy link
Closed
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: bug
Description
Bazel 0.8.1
The current treatment of a label expressed as just @wkspc is inconsistent.
I can have deps=["@rxjs"] as a shorthand for deps=["@rxjs//:rxjs"]
But if I bazel build @rxjs I get
INFO: Analysed 0 targets (4 packages loaded).
INFO: Found 0 targets...
and if I try to abbreviate bazel run @yarn//:yarn as bazel run @yarn I get ERROR: No targets found to run
Reproduction in this repo:
https://github.com/alexeagle/angular-bazel-example
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-ExternalDepsExternal dependency handling, remote repositiories, WORKSPACE file.External dependency handling, remote repositiories, WORKSPACE file.type: bug