-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
labels: correct usage #16
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think the string to use to adress a package is wrong, e.g //main
Based on the Bazle concept page [1], this would address a target called main in the package main.
So
//main
is the same as//main:main
Using simply
main
would be the solution here, but Bazel seems to know only relative path.So the exact location of
main
can be calculated only, if the current location (working dir / packages) is known. As far as I have understood, bazel as no character to indicate that a package-path starts on root.It looks like bazel tests first, if it is a relative path, if not it must start on root level / workspace.
So here is a proposal to label the bazel objects correctly:
[1] https://docs.bazel.build/versions/master/build-ref.html
The text was updated successfully, but these errors were encountered: