Skip to content

Commit

Permalink
Use Bundler gem tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Nov 11, 2011
1 parent 64b59ad commit 5133fa9
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions Rakefile
@@ -1,13 +1,14 @@
require 'rubygems'
require 'bundler/setup'
require 'bundler'
require 'rake'
require 'rcov/rcovtask'
require 'date'
require 'rake/gempackagetask'
require 'rspec/core/rake_task'
require 'cucumber/rake/task'
require 'appraisal'
require 'yard'
require 'rspec/core/rake_task'
require 'cucumber/rake/task'
require 'rcov/rcovtask'

Bundler::GemHelper.install_tasks

desc 'Default: run the specs and features.'
task :default => 'spec:unit' do
Expand Down Expand Up @@ -45,12 +46,6 @@ Cucumber::Rake::Task.new(:features) do |t|
t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
end

eval("$specification = begin; #{IO.read('factory_girl.gemspec')}; end")
Rake::GemPackageTask.new($specification) do |package|
package.need_zip = true
package.need_tar = true
end

YARD::Rake::YardocTask.new do |t|
end

0 comments on commit 5133fa9

Please sign in to comment.