Rakefile in penchant-0.0.5 vs Rakefile in penchant-0.1.0

- old
+ new

@@ -7,7 +7,26 @@ RSpec::Core::RakeTask.new(:spec) rescue LoadError "#$! - no rspec" end -task :default => :spec +begin + require 'rspec/core/rake_task' + + RSpec::Core::RakeTask.new(:spec) +rescue LoadError + "#$! - no rspec" +end + +begin + require 'cucumber' + require 'cucumber/rake/task' + + Cucumber::Rake::Task.new(:cucumber) do |t| + t.cucumber_opts = "features --format pretty" + end +rescue LoadError + "#$! - no cucumber" +end + +task :default => [ :spec, :cucumber ]