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

38 lines (32 sloc) 0.755 kb
require 'rake/clean'
require 'rspec/core'
require 'rspec/core/rake_task'
CLEAN.include 'doc/api'
task :default => :spec
desc "Run all specs in spec directory"
RSpec::Core::RakeTask.new do |task|
task.rspec_opts = ["-c"]
end
desc 'Generate rdoc'
task :rdoc do
rm_rf 'doc/api'
sh((<<-SH).gsub(/[\s\n]+/, ' ').strip)
hanna
--inline-source
--line-numbers
--include=lib/cloudkit.rb
--include=lib/cloudkit/*.rb
--include=lib/cloudkit/*/*.rb
--exclude=Rakefile
--exclude=TODO
--exclude=cloudkit.gemspec
--exclude=templates/*
--exclude=examples/*
--exclude=spec/*
--exclude=doc/index.html
--exclude=doc/curl.html
--exclude=doc/rest-api.html
--exclude=doc/main.css
--op=doc/api
SH
end
Jump to Line
Something went wrong with that request. Please try again.