Im still a little confused about the `::` notatio...
# general
b
Im still a little confused about the
::
notation is the convention
filename:method:task
or is it something different?
f
something different
path/to/dir:target_name
path/to/dir:: means all targets in that directory and also recursively in subdirectories
a single : would just reference targets in the same directory
and no recursion
the path is relative, the "root" syntax is
//
so a target named "foo" in the BUILD file at the root of the repository would be
//:foo
b
so
//::
would mean EVERYTHING the second colon is just for like a
-r
nothing appears after it
f
yes
although you can also just use
::
b
thanks @fast-nail-55400
f
since the root is implied on the command line,
//
is more useful in BUILD files which are not at the root
h
It's basically a shell-safe equivalent of
**