Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

35 lines (29 sloc) 0.838 kB
require "rubygems"
require "bundler"
Bundler.setup
require 'rake'
require 'rake/rdoctask'
require 'rspec/core/rake_task'
require 'roodi'
require 'roodi_task'
desc "Default Task"
task :default => [ :spec ]
# run all rspecs
desc "Run all rspec files"
RSpec::Core::RakeTask.new("spec") do |t|
t.rspec_opts = ["--color", "--format progress"]
t.ruby_opts = "-w"
end
# Genereate the RDoc documentation
desc "Create documentation"
Rake::RDocTask.new("doc") do |rdoc|
rdoc.title = "pdf-reader"
rdoc.rdoc_dir = (ENV['CC_BUILD_ARTIFACTS'] || 'doc') + '/rdoc'
rdoc.rdoc_files.include('README.rdoc')
rdoc.rdoc_files.include('TODO')
rdoc.rdoc_files.include('CHANGELOG')
rdoc.rdoc_files.include('MIT-LICENSE')
rdoc.rdoc_files.include('lib/**/*.rb')
rdoc.options << "--inline-source"
end
RoodiTask.new 'roodi', ['lib/**/*.rb']
Jump to Line
Something went wrong with that request. Please try again.