Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 703 Bytes
# -*- ruby -*-
require 'rubygems'
require 'hoe'
require './lib/horrible.rb'
require 'spec/rake/spectask''horrible', Horrible::VERSION) do |p|
p.rubyforge_name = 'horrible' # if different than lowercase project name
p.developer('Adam Anderson', '')
end do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = ['--format specdoc','--color']
desc "Run all examples with RCov"'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']
# vim: syntax=ruby