Instead of calling esc the task- and makefile now call go run github.com/mjibson/esc.
This way the dependency is automatically retrieved if needed.
Moreover, by adding to to tools.go (which will be ignored because of the //go:build tools build tag), it gets tracked in go.mod (so that you are sure of the esc version that will be run).
Fix #127
Instead of calling
esc
the task- and makefile now callgo run github.com/mjibson/esc
. This way the dependency is automatically retrieved if needed.Moreover, by adding to to
tools.go
(which will be ignored because of the//go:build tools
build tag), it gets tracked in go.mod (so that you are sure of theesc
version that will be run).