mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
add makefule rule for ocp-indent
This commit is contained in:
parent
0a7d2a2411
commit
cebee407ea
1 changed files with 5 additions and 0 deletions
5
Makefile
5
Makefile
|
|
@ -137,4 +137,9 @@ watch:
|
|||
make all; \
|
||||
done
|
||||
|
||||
reindent:
|
||||
@which ocp-indent || ( echo "require ocp-indent" ; exit 1 )
|
||||
@find src '(' -name '*.ml' -or -name '*.mli' ')' -type f -print0 | xargs -0 echo "reindenting: "
|
||||
@find src '(' -name '*.ml' -or -name '*.mli' ')' -type f -print0 | xargs -0 ocp-indent -i
|
||||
|
||||
.PHONY: examples push_doc tags qtest-gen qtest-clean devel update_next_tag
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue