Skip to content
Browse files

Add a 'minify' script.

The script requires bash and curl. It should work on any Unix-like system.
  • Loading branch information...
1 parent 1efce10 commit 885eda85a428660a1a33539b0d90178be2496532 @SimonSapin SimonSapin committed
Showing with 11 additions and 0 deletions.
  1. +11 −0 minify
View
11 minify
@@ -0,0 +1,11 @@
+#!/bin/bash
+(
+ echo '/**
+ * StyleFix 1.0.3 & PrefixFree 1.0.7
+ * @author Lea Verou
+ * MIT license
+ */'
+ 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 885eda8

Please sign in to comment.
Something went wrong with that request. Please try again.