Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (27 sloc) 1.153 kb
require 'spec/rake/spectask'
require 'hoe'
MANIFEST = FileList["History.txt", "Manifest.txt", "README.txt", "Rakefile",
"lib/**/*.rb", "spec/**/*.rb", "tasks/**/*.rake"]"ci_reporter", "1.1") do |p|
p.rubyforge_name = "caldersphere"
p.url = "" = "Nick Sieger" = ""
p.summary = "CI::Reporter allows you to generate reams of XML for use with continuous integration systems."
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
p.description = p.paragraphs_of('README.txt', 0...1).join("\n\n")
p.extra_deps.reject!{|d| d.first == "hoe"}
p.test_globs = ["spec/**/*_spec.rb"]
end.spec.files = MANIFEST
# Hoe insists on setting task :default => :test
# !@#$ no easy way to empty the default list of prerequisites
Rake::Task['default'].send :instance_variable_set, "@prerequisites", FileList[]
task :default => :spec do |t|
t.spec_opts = ["--diff", "unified"]
# Automated manifest
task :manifest do"Manifest.txt", "w") {|f| MANIFEST.each {|n| f << "#{n}\n"} }
task :package => :manifest
Jump to Line
Something went wrong with that request. Please try again.