From f12a8a3d5c9f3dd4c890729bc6532f239262fe19 Mon Sep 17 00:00:00 2001 From: paulfantom Date: Wed, 7 Jul 2021 10:03:40 +0200 Subject: [PATCH] *: add "update" target to makefile and use it in automatic updater Signed-off-by: paulfantom --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 754ba59a..c3ae345f 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,10 @@ vendor: $(JB_BIN) jsonnetfile.json jsonnetfile.lock.json rm -rf vendor $(JB_BIN) install +.PHONY: update +update: $(JB_BIN) + $(JB_BIN) update + .PHONY: fmt fmt: $(JSONNETFMT_BIN) find . -name 'vendor' -prune -o -name '*.libsonnet' -print -o -name '*.jsonnet' -print | \