brutella / hkcam

Open-Source HomeKit Surveillance Camera
https://hochgatterer.me/hkcam/
Apache License 2.0
920 stars 141 forks source link

call: go run github.com/mjibson/esc instead of esc #135

Closed oliverpool closed 1 year ago

oliverpool commented 1 year ago

Fix #127

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).

brutella commented 1 year ago

Thanks for the fix! 🎉