diff --git a/build-min b/build-min index ccbb9c0..f28b6cb 100755 --- a/build-min +++ b/build-min @@ -11,8 +11,8 @@ if git diff --quiet --cached style/base/reset.css; then exit 0 fi -# get reset.css, and remove all spaces and linebreaks -reset_min=$(sed 's|/\*.*\*/||g' style/base/reset.css | tr -d ' \n') +# get reset.css, and remove all spaces, linebreaks, and comments +reset_min=$(perl -0pe 's|/\*.*?\*/||gs' style/base/reset.css | tr -d ' \n') # get the contents of min.css, except for the first line # (which is the 1-line reset)