Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tag: v0.2.0
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (38 sloc) 1.184 kB
require 'rake'
require 'rake/rdoctask'
require 'spec/rake/spectask'
desc 'Default: run specs with rcov.'
task :default => :rcov_spec
desc 'Run the specs'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_opts = ['--colour --format progress --loadby mtime --reverse']
t.spec_files = FileList['spec/**/*_spec.rb']
end
desc 'Run the specs with rcov'
Spec::Rake::SpecTask.new("rcov_spec") do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--color']
t.rcov = true
t.rcov_opts = ['--exclude', '^spec,/gems/']
end
Rake::RDocTask.new do |t|
t.rdoc_dir = 'doc'
t.rdoc_files.include('lib/**/*.rb')
t.options << '--inline-source'
t.options << '--all'
t.options << '--line-numbers'
end
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "forgery"
s.summary = "TODO"
s.email = "nate@sevenwire.com"
s.homepage = "http://github.com/sevenwire/forgery"
s.description = "TODO"
s.authors = ["Nathan Sutton"]
s.files = FileList["[A-Z]*.*", "{bin,generators,lib,test,spec}/**/*"]
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
Jump to Line
Something went wrong with that request. Please try again.