mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
chore: modernize make watch
This commit is contained in:
parent
bb4d8a89f3
commit
a325600ccb
1 changed files with 2 additions and 4 deletions
6
Makefile
6
Makefile
|
|
@ -36,11 +36,9 @@ release: update_next_tag
|
|||
opam publish prepare https://github.com/c-cube/qcheck/archive/$(VERSION).tar.gz
|
||||
@echo "review the release, then type 'opam publish submit qcheck.$(VERSION)/'"
|
||||
|
||||
WATCH?=@all
|
||||
watch:
|
||||
while find src/ benchs/ -print0 | xargs -0 inotifywait -e delete_self -e modify ; do \
|
||||
echo "============ at `date` ==========" ; \
|
||||
make all; \
|
||||
done
|
||||
@dune build $(WATCH) -w
|
||||
|
||||
reindent:
|
||||
@which ocp-indent || ( echo "require ocp-indent" ; exit 1 )
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue