Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.334 kB
require 'rubygems'
require 'closure-compiler'
desc "rebuild the backbone-min.js files for distribution"
task :build do
source = File.read 'backbone.js'
File.open('backbone-min.js', 'w+') {|f| f.write Closure::Compiler.new.compress(source) }
end
desc "build the docco documentation"
task :doc do
system "docco backbone.js"
end
Jump to Line
Something went wrong with that request. Please try again.