Underscore 0.4.7 is done

This commit is contained in:
Jeremy Ashkenas
2009-12-06 14:13:25 -05:00
parent 7a1f92a8c5
commit 4bd535e7f1
4 changed files with 35 additions and 23 deletions

9
Rakefile Normal file
View File

@@ -0,0 +1,9 @@
require 'rubygems'
require 'closure-compiler'
desc "Use the Closure Compiler to compress Underscore.js"
task :build do
js = File.open('underscore.js', 'r')
min = Closure::Compiler.new.compile(js)
File.open('underscore-min.js', 'w') {|f| f.write(min) }
end