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

18 lines (15 sloc) 0.471 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
desc "run JavaScriptLint on the source"
task :lint do
system "jsl -nofilelisting -nologo -conf docs/jsl.conf -process backbone.js"
end
Jump to Line
Something went wrong with that request. Please try again.