heptagon/tools/enforce_style.sh

5 lines
179 B
Bash
Raw Normal View History

2010-06-30 15:36:07 +02:00
#!/bin/sh
2010-07-01 19:35:39 +02:00
find . \( -iname "*.ml" -or -iname "*.mli" \) -exec perl -pi -e 's/( |\t)+$//g' {} \;
find . \( -iname "*.ml" -or -iname "*.mli" \) -exec perl -pi -e 's/\t/ /g' {} \;