Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (22 sloc) 0.703 kb
# -*- ruby -*-
require 'rubygems'
require 'hoe'
require './lib/horrible.rb'
require 'spec/rake/spectask'
Hoe.new('horrible', Horrible::VERSION) do |p|
p.rubyforge_name = 'horrible' # if different than lowercase project name
p.developer('Adam Anderson', 'adamandersonis@gmail.com')
end
Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--format specdoc','--color']
end
desc "Run all examples with RCov"
Spec::Rake::SpecTask.new('rcov') do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.libs << File.join(File.dirname(__FILE__), 'lib')
t.rcov = true
t.rcov_dir = 'artifacts'
t.rcov_opts = ['--exclude', 'spec']
end
# vim: syntax=ruby
Jump to Line
Something went wrong with that request. Please try again.