Skip to content
This repository
Browse code

Clean up Rakefile.

  • Loading branch information...
commit 4f016db60e8c89a97a6cd9f07d11d9e273c80704 1 parent 043d35f
Gabe Berke-Williams authored April 10, 2012

Showing 1 changed file with 5 additions and 6 deletions. Show diff stats Hide diff stats

  1. 11  Rakefile
11  Rakefile
@@ -2,14 +2,15 @@
2 2
 
3 3
 require 'rubygems'
4 4
 require 'bundler/setup'
  5
+require 'bundler/gem_tasks'
  6
+
5 7
 require 'rake'
6  
-require 'rubygems/package_task'
7  
-require 'cucumber/rake/task'
8 8
 require 'diesel/tasks'
  9
+require 'cucumber/rake/task'
9 10
 require 'rspec/core/rake_task'
10 11
 require 'appraisal'
11 12
 
12  
-task :default do |t|
  13
+task :default do
13 14
   if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
14 15
     exec 'rake spec cucumber'
15 16
   else
@@ -17,7 +18,7 @@ task :default do |t|
17 18
   end
18 19
 end
19 20
 
20  
-task :appraise => ['appraisal:install'] do |t|
  21
+task :appraise => ['appraisal:install'] do
21 22
   exec 'rake appraisal spec cucumber'
22 23
 end
23 24
 
@@ -27,5 +28,3 @@ Cucumber::Rake::Task.new(:cucumber) do |t|
27 28
   t.fork = true
28 29
   t.cucumber_opts = ['--format', (ENV['CUCUMBER_FORMAT'] || 'progress')]
29 30
 end
30  
-
31  
-Bundler::GemHelper.install_tasks

0 notes on commit 4f016db

Please sign in to comment.
Something went wrong with that request. Please try again.