2011-11-04 15:51:22 +00:00
|
|
|
require "bundler/gem_tasks"
|
|
|
|
|
|
|
|
desc 'Update livereload.js'
|
|
|
|
task :update_livereload_js do
|
|
|
|
require 'httparty'
|
|
|
|
|
|
|
|
File.open('js/livereload.js', 'wb') { |fh|
|
|
|
|
fh.print HTTParty.get('https://raw.github.com/livereload/livereload-js/master/dist/livereload.js').body
|
|
|
|
}
|
|
|
|
end
|
|
|
|
|
2011-11-14 14:11:57 +00:00
|
|
|
require 'rspec/core/rake_task'
|
|
|
|
|
|
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
|
|
|
|
|
|
task :default => :spec
|