Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.332 kb
require 'rubygems'
require 'uglifier'
desc "Use the Closure Compiler to compress Underscore.js"
task :build do
source = File.read('underscore.js')
min = Uglifier.compile(source)
File.open('underscore-min.js', 'w') {|f| f.write min }
end
desc "Build the docco documentation"
task :doc do
sh "docco underscore.js"
end
Jump to Line
Something went wrong with that request. Please try again.