Rakefile in scaffolder-annotation-locator-0.1.1 vs Rakefile in scaffolder-annotation-locator-0.1.2
- old
+ new
@@ -6,38 +6,18 @@
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake/dsl_definition'
-require 'rake'
-
-require 'jeweler'
-Jeweler::Tasks.new do |gem|
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
- gem.name = "scaffolder-annotation-locator"
- gem.homepage = "http://next.gs"
- gem.license = "MIT"
- gem.summary = %Q{Update locations of gff3 annotations from a scaffolder template}
- gem.description = %Q{Build a genome scaffold using scaffolder and a set of annotated contigs. This tool updates the locations of the contig annotations using the scaffolder tempalte as a base.}
- gem.email = "mail@next.gs"
- gem.authors = ["Michael Barton"]
-end
-Jeweler::RubygemsDotOrgTasks.new
-
require 'rspec/core'
require 'rspec/core/rake_task'
+require 'cucumber/rake/task'
+
+Bundler::GemHelper.install_tasks
+
RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end
-RSpec::Core::RakeTask.new(:rcov) do |spec|
- spec.pattern = 'spec/**/*_spec.rb'
- spec.rcov = true
-end
-
-require 'cucumber/rake/task'
Cucumber::Rake::Task.new(:features)
task :default => :spec
-
-require 'yard'
-YARD::Rake::YardocTask.new