bazelbuild/bazel

Clarify language around labels and prefixes

Open

#13,032 opened on Feb 14, 2021

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Java (4,465 forks)batch import
P3help wantedteam-Documentationteam-ExternalDepstype: documentation (cleanup)

Repository metrics

Stars
 (25,384 stars)
PR merge metrics
 (Avg merge 22d 20h) (77 merged PRs in 30d)

Description

Documentation URL: https://docs.bazel.build/versions/master/build-ref.html

Says:

Labels start with //

But then goes on to say:

the following "relative" labels are all equivalent: //my/app:app //my/app :app app

The last two don't start with //. So are they labels or not? Please clarify the text.

Contributor guide