chore(make): also remove trailing spaces in make reindent

This commit is contained in:
Simon Cruanes 2020-02-15 14:36:39 -06:00
parent 11d8f8e879
commit 93b993825b

View file

@ -53,7 +53,9 @@ doc:
reinstall: | uninstall install
reindent: ocp-indent
reindent:
@find src '(' -name '*.ml' -or -name '*.mli' ')' -print0 \
| xargs -0 sed -i 's/[[:space:]]+$$//g'
@find src '(' -name '*.ml' -or -name '*.mli' ')' -print0 | xargs -0 echo "reindenting: "
@find src '(' -name '*.ml' -or -name '*.mli' ')' -print0 | xargs -0 ocp-indent -i