add make watch

This commit is contained in:
Simon Cruanes 2016-12-26 00:44:57 +01:00
parent e71e9560cc
commit b062ccfd70

View file

@ -80,4 +80,10 @@ update_next_tag:
sed -i "s/NEXT_VERSION/$(VERSION)/g" *.ml *.mli
sed -i "s/NEXT_RELEASE/$(VERSION)/g" *.ml *.mli
.PHONY: benchs tests examples update_next_tag push_doc push_stable
watch:
while find src/ -print0 | xargs -0 inotifywait -e delete_self -e modify ; do \
echo "============ at `date` ==========" ; \
make all; \
done
.PHONY: benchs tests examples update_next_tag push_doc push_stable watch