h5bp/ant-build-script — pull request #48 by tarciosaraiva (2012-04-04 07:27:51+00:00)
Title: Small fix for -css-remove-concatenated-stylesheets

Moving call from -css to -usemin as the HTML files were not copied yet for the replace to take place, resulting in a task that got falsely executed.

As for the regex, replacing one line a time may be inefficient but is safer.

I also noticed that by populating the list files.stylesheet on project.properties like the example results in no-match by the regular expression as `stylesheet.css` (no spaces) is different from ` stylesheet.css` (space at the start).

I didn't have time to write a function to trim the spaces on the build script but, for now, I added a little remark on project.properties so users are aware.