cowboy/grunt — pull request #64 by jzaefferer (2012-03-09 13:03:58+00:00)
Title: Concat banner

There are two commits in this PR. One should be straightforward: Add support to the concat task.

The other only makes sense with that first change, but might be controversional. It changes strip_banner directives to also remove protected comments. As the commit message also mentions, this is necessary for the concat task to be useful with custom banners.

I don't know the reasoning behind the current strip_banner implementation, so maybe thats not set in stone. Otherwise I need to look into a custom directive.

For an example usage of concat with these changes applied, see https://github.com/jquery/jquery-ui/blob/60bbda3eb900eea18d35bfd8bdee59d970c4549b/grunt.js#L68