thanpolas/grunt-closure-tools — pull request #2 by izb (2012-07-13 14:19:13+00:00)
Title: Wrapped the functionality in a helper function.

The compiler could only be called from its own task which was probably fine for most uses but by exposing the functionality via a grunt registered helper, it can be useful in other tasks too.

I also added a check on modification dates so that if the output file is newer than the source file(s), it won't execute the command. This speeds up builds in large projects.