*: add "update" target to makefile and use it in automatic updater
Signed-off-by: paulfantom <pawel@krupa.net.pl>
This commit is contained in:
committed by
Damien Grisonnet
parent
b5fbe81d9a
commit
6e09b9d0ab
4
Makefile
4
Makefile
@@ -33,6 +33,10 @@ vendor: $(JB_BIN) jsonnetfile.json jsonnetfile.lock.json
|
|||||||
rm -rf vendor
|
rm -rf vendor
|
||||||
$(JB_BIN) install
|
$(JB_BIN) install
|
||||||
|
|
||||||
|
.PHONY: update
|
||||||
|
update: $(JB_BIN)
|
||||||
|
$(JB_BIN) update
|
||||||
|
|
||||||
.PHONY: fmt
|
.PHONY: fmt
|
||||||
fmt: $(JSONNETFMT_BIN)
|
fmt: $(JSONNETFMT_BIN)
|
||||||
find . -name 'vendor' -prune -o -name '*.libsonnet' -o -name '*.jsonnet' -print | \
|
find . -name 'vendor' -prune -o -name '*.libsonnet' -o -name '*.jsonnet' -print | \
|
||||||
|
|||||||
Reference in New Issue
Block a user