Closed
Description
Tool dependencies are currently installed as global commands via the Makefile via block like this:
@hash gofumpt > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) install mvdan.cc/[email protected]; \
fi
This present the issue that once installed, a tool will never update without manual intervention and it makes it very hard to work on multiple projects or even branches with different tool versions.
golang/go#25922 (comment) shows a few possible solutions. Might be worth a try with bingo
which seems to promise a lot, but I'm not sure it actually delivers.
Metadata
Metadata
Assignees
Labels
No labels