aboutsummaryrefslogtreecommitdiff
path: root/scripts/js2min
blob: bd14e815e2e9291999ba063a7c143ebcb9e5cd54 (plain)
1
2
3
4
5
6
7
8
9
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