diff --git a/Makefile b/Makefile index cb22ae50..485f5f84 100644 --- a/Makefile +++ b/Makefile @@ -89,6 +89,13 @@ tidy: make clean_go go mod tidy +# Keep dependencies up to date +deps-update: +ifeq (,$(wildcard go.mod)) + $(error Missing go.mod file) +endif + go get -u ./... + # Install everything # optional DEST=destination_path install: