witty-crayon-22786
10/13/2021, 9:35 PMwitty-crayon-22786
10/13/2021, 9:38 PM./pants dependencies ::
will, but the Address constructor edits all fix errors like:
ValueError: The address `foo#./pkg` is not generated by the `go_mod` target `foo`, which only generates these addresses:
* foo/cmd
* foo/pkg
Did you mean to use one of those addresses?
witty-crayon-22786
10/13/2021, 9:39 PMValueError: The address `//:mod#./greeter/quoter` is not generated by the `go_mod` target `//:mod`, which only generates these addresses:
* //:mod
* //:mod#<http://golang.org/x/xerrors|golang.org/x/xerrors>
* //:mod#<http://golang.org/x/xerrors/internal|golang.org/x/xerrors/internal>
* //greeter:mod
* //greeter/quoter:../mod
Did you mean to use one of those addresses?
hundreds-father-404
10/13/2021, 9:43 PMfoo/cmd
could conflict with a "default" target at foo/cmd
, right?
Looks like //:mod
is ambiguous if it's the generated target vs. target generator, also. (Indeed, how to handle the same directory was one of the hardest edge cases for generated address syntax)witty-crayon-22786
10/13/2021, 9:56 PMhundreds-father-404
10/13/2021, 9:58 PM/
when using an address literal, like in dependencies
field? Could be a common gotchawitty-crayon-22786
10/13/2021, 10:01 PM