diff options
author | Dan DeLeo <danielsdeleo@mac.com> | 2009-12-19 13:28:28 -0700 |
---|---|---|
committer | Dan DeLeo <danielsdeleo@mac.com> | 2009-12-19 13:28:28 -0700 |
commit | 065c909660bb1509224e7f7525adc7bc90e4512b (patch) | |
tree | f92245984615fea7a7452a878b468eec3d384245 | |
parent | 8bd7e18e0c12eb1ac9f03bcf41405b1dc3884bda (diff) | |
download | mixlib-authentication-065c909660bb1509224e7f7525adc7bc90e4512b.tar.gz |
fix CHEF-808: rm cucumber from Rakefile
* there are no cucumber features, so there doesn't need to be a rake
task for them.
* there also doesn't need to be any dependency on cucumber
* set the :default task to depend on :spec instead of :test
-rw-r--r-- | Rakefile | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -3,7 +3,6 @@ require 'rake/gempackagetask' require 'rubygems/specification' require 'date' require 'spec/rake/spectask' -require 'cucumber/rake/task' GEM = "mixlib-authentication" @@ -34,7 +33,7 @@ spec = Gem::Specification.new do |s| s.files = %w(LICENSE README.rdoc Rakefile NOTICE) + Dir.glob("{lib,spec,features}/**/*") end -task :default => :test +task :default => :spec desc "Run specs" Spec::Rake::SpecTask.new do |t| @@ -58,12 +57,6 @@ task :make_spec do end end -Cucumber::Rake::Task.new(:features) do |t| - t.step_pattern = 'features/steps/**/*.rb' - supportdir = 'features/support' - t.cucumber_opts = "--format pretty -r #{supportdir}" -end - desc "remove build files" task :clean do sh %Q{ rm -f pkg/*.gem } |