heptagon/tools/enforce_style.sh

3 lines
190 B
Bash
Raw Normal View History

2010-06-30 15:36:07 +02:00
#!/bin/sh
2011-05-23 14:04:11 +02:00
find . \! -path "*_build*" -and \( -iname "*.ml" -or -iname "*.mli" -or -iname "*.mly" -or -iname "*.mll" -or -iname "*.ept" \) -exec perl -pi -e 's/( |\t)+$//gi; s/\t/ /g' {} \;