Google Closure in Rails Development Workflow?

Update: I found a promising Rails plugin for this.

I’ve got a couple of projects that I’d be interested in trying out the recently released Closure Tools on. Have any workflow best practices started to surface yet in regards to compiling your app’s Javascript with these tools? The compiler UI is slick in that you can see the results of the compiled code, but I’m thinking you’d want to automate things with the command line tool somehow (rake task, Git pre-commit hook? Maybe with the compiler API on the server?).

Duncan Grazier may be on to something with his comjiler project. I’d be interested in hearing about how people are using the Closure compiler in the wild - Rails apps or otherwise.

Clicky