https://pantsbuild.org/ logo
#general
Title
# general
p

purple-plastic-57801

03/08/2023, 11:32 PM
Can I reference a local target in a BUILD without the full path? In bazel.. //foo/BUILD
Copy code
thing = ":bar"
thing2 = "//foo:bar"
Are the same label, as bazel knows where I am..
h

high-yak-85899

03/08/2023, 11:34 PM
yes
p

purple-plastic-57801

03/08/2023, 11:37 PM
Is that documented anywhere?
Specifically the Relative addresses section in there
p

purple-plastic-57801

03/08/2023, 11:41 PM
I can't read. Thanks!
4 Views