Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 13 lines (11 sloc) 0.334 kb
1 2 3 4 5 6 7 8 9 10 11 12 13
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
Something went wrong with that request. Please try again.