mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-06 03:05:31 -05:00
chore(make): also remove trailing spaces in make reindent
This commit is contained in:
parent
11d8f8e879
commit
93b993825b
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue