News for hackers. Stuff that matters.
Re:Dropbox is my publish button by martian on Tuesday October 04, 2011 @02:20AM (#3069649)
Easy to minify with Google Closure in a Makefile, all you need is curl:

  build/project_min.js: build/project.js
    rm -f $@
    curl -s --data-urlencode 'js_code@build/project.js' --data-urlencode 'output_format=text' --data-urlencode 'output_info=compiled_code' http://closure-compiler.appspot.com/compile >> $@
h/t @enaeseth, edited for formatting

There are no comments on this comment yet.