2011-05-07 15:16:47 +01:00

9 lines
264 B
Ruby

require 'rubygems'
require 'closure-compiler'
desc 'Use the Closure Compiler to compress Underscore.string'
task :build do
File.open('dist/underscore.string.min.js', 'w').write \
Closure::Compiler.new.compile(File.open('lib/underscore.string.js', 'r'))
end