Commit c8bee28
Just: name buildifier's binary by its external label
The alias existed only to give that binary a label in this workspace, which
is precisely what stopped it working from anywhere else: a repository with
this one checked out inside it cannot resolve `//misc/bazel/buildifier`, so
it had to override `_bazel_formatter` just to name the same binary again.
`@buildifier_prebuilt//:buildifier` resolves from any workspace and picks up
whichever version that workspace pins, which is the behaviour the override
was reproducing by hand.
Also removes the second copy of the whole-workspace-versus-paths explanation,
which the alias carried alongside the one in format.just.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent dd441b8 commit c8bee28
2 files changed
Lines changed: 9 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments