Rakefile in bio-gff3-0.8.5 vs Rakefile in bio-gff3-0.8.6
- old
+ new
@@ -22,22 +22,31 @@
}
gem.email = "pjotr.prins@thebird.nl"
gem.authors = ["Pjotr Prins"]
# Include your dependencies below. Runtime dependencies are required when using your gem,
# and development dependencies are only needed for development (ie running rake tasks, tests, etc)
- gem.add_runtime_dependency 'bio', '>= 1.4.1'
- gem.add_runtime_dependency 'log4r', '> 1.1.6'
- gem.add_runtime_dependency 'bio-logger', '>= 0.6.1'
- gem.add_development_dependency 'rspec', '> 2.0'
+ # gem.add_runtime_dependency 'bio', '>= 1.4.1'
+ # gem.add_runtime_dependency 'log4r', '> 1.1.6'
+ # gem.add_runtime_dependency 'bio-logger', '>= 0.8.0'
end
Jeweler::RubygemsDotOrgTasks.new
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'lib' << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
+ Kernel.system('rspec spec/*.rb')
end
+
+#require 'spec/rake/spectask'
+#Spec::Rake::SpecTask.new(:spec) do |t|
+# t.spec_files = Dir.glob('spec/**/*_spec.rb')
+# t.spec_opts << '--format specdoc'
+# t.warning = true
+# t.rcov = true
+#end
+
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'