mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 03:05:29 -05:00
add make watch
This commit is contained in:
parent
e71e9560cc
commit
b062ccfd70
1 changed files with 7 additions and 1 deletions
8
Makefile
8
Makefile
|
|
@ -80,4 +80,10 @@ update_next_tag:
|
||||||
sed -i "s/NEXT_VERSION/$(VERSION)/g" *.ml *.mli
|
sed -i "s/NEXT_VERSION/$(VERSION)/g" *.ml *.mli
|
||||||
sed -i "s/NEXT_RELEASE/$(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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue