diff options
Diffstat (limited to 'scripts/js2min')
-rwxr-xr-x | scripts/js2min | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/js2min b/scripts/js2min new file mode 100755 index 0000000..bd14e81 --- /dev/null +++ b/scripts/js2min @@ -0,0 +1,10 @@ +#!/bin/sh +export PATH="$PATH:`dirname $0`/filters" +cat $@ |\ + remove_double_slash_comments |\ + to_single_line |\ + remove_slash_star_comments |\ + remove_tabs |\ + remove_whitespace |\ + trim_whitespace + |