Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 9 lines (8 sloc) 0.263 kb
4bd535e @jashkenas Underscore 0.4.7 is done
jashkenas authored
1 require 'rubygems'
2 require 'closure-compiler'
3
4 desc "Use the Closure Compiler to compress Underscore.js"
5 task :build do
6 js = File.open('underscore.js', 'r')
7 min = Closure::Compiler.new.compile(js)
8 File.open('underscore-min.js', 'w') {|f| f.write(min) }
9 end
Something went wrong with that request. Please try again.