Rakefile in ci_reporter-1.7.0 vs Rakefile in ci_reporter-1.7.1
- old
+ new
@@ -4,15 +4,11 @@
# software license details.
#++
require 'bundler/setup'
-MANIFEST = FileList["History.txt", "Manifest.txt", "README.rdoc", "LICENSE.txt", "Rakefile",
- "*.rake", "lib/**/*.rb", "spec/**/*.rb", "tasks/**/*.rake"]
-
begin
- File.open("Manifest.txt", "w") {|f| MANIFEST.sort.each {|n| f << "#{n}\n"} }
require 'hoe'
Hoe.plugin :rubyforge
require File.dirname(__FILE__) + '/lib/ci/reporter/version'
hoe = Hoe.spec("ci_reporter") do |p|
p.version = CI::Reporter::VERSION
@@ -26,11 +22,11 @@
p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
p.description = p.paragraphs_of('README.rdoc', 0...1).join("\n\n")
p.extra_rdoc_files += ["README.rdoc"]
p.test_globs = ["spec/**/*_spec.rb"]
p.extra_deps << ['builder', ">= 2.1.2"]
+ p.clean_globs += ["spec/reports", "acceptance/reports"]
end
- hoe.spec.files = MANIFEST
hoe.spec.rdoc_options += ["-SHN", "-f", "darkfish"]
task :gemspec do
File.open("#{hoe.name}.gemspec", "w") {|f| f << hoe.spec.to_ruby }
end