Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Ruby shell script wrapper around YUI compressor.

View yuicompressor.sh
1 2 3
#!/usr/bin/env ruby
file_to_minify = ARGV.first
system "java -jar /Users/jaredmehle/Documents/workspace/yuicompressor-2.4.2/build/yuicompressor-2.4.2.jar #{file_to_minify} -o #{file_to_minify.split('.').first}-min.js"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.