Permalink
Browse files

Merge pull request #131 from SimonSapin/minify-script

Add a 'minify' script.
  • Loading branch information...
2 parents ce169c8 + 1f67ebc commit 6ad92144c171731894606f9b7bf0dac91db52cf0 @LeaVerou committed Dec 13, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 minify
View
7 minify
@@ -0,0 +1,7 @@
+#!/bin/bash
+(
+ head -n 5 prefixfree.js
+ curl --data-urlencode 'js_code@prefixfree.js' \
+ --data 'output_info=compiled_code' \
+ http://closure-compiler.appspot.com/compile
+) > prefixfree.min.js

0 comments on commit 6ad9214

Please sign in to comment.