Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add a 'minify' script. #131

Merged
merged 2 commits into from

2 participants

@SimonSapin

The script requires bash and curl. It should work on any Unix-like system.

SimonSapin added some commits
@SimonSapin SimonSapin Add a 'minify' script.
The script requires bash and curl. It should work on any Unix-like system.
885eda8
@SimonSapin SimonSapin Don’t hard-code the header. 1f67ebc
@LeaVerou LeaVerou merged commit 6ad9214 into LeaVerou:gh-pages
@LeaVerou
Owner

Both pull reqs merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 13, 2012
  1. @SimonSapin

    Add a 'minify' script.

    SimonSapin authored
    The script requires bash and curl. It should work on any Unix-like system.
  2. @SimonSapin
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.