Debian Codegraph @

extra/clean-whitespace

raw
1 #!/bin/sh
2 #
3 # Remove trailing whitespace from Haxe files
4
5 # Exclude generated js.html.* for now
6 find -path ./std/js/html -prune -o -name '*.hx' -print0 | xargs -0 perl -pi -e "s/[ \t]+$//"