Skip to content

Commit

Permalink
Add a 'minify' script.
Browse files Browse the repository at this point in the history
The script requires bash and curl. It should work on any Unix-like system.
  • Loading branch information
SimonSapin committed Dec 13, 2012
1 parent 1efce10 commit 885eda8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 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.