mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 17:37:50 +00:00
Underscore 0.4.7 is done
This commit is contained in:
9
Rakefile
Normal file
9
Rakefile
Normal 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
|
||||
Reference in New Issue
Block a user