Rakefile in vendorificator-0.3.0 vs Rakefile in vendorificator-0.4.0

- old
+ new

@@ -4,10 +4,15 @@ Bundler.setup require "bundler/gem_tasks" require 'rake/testtask' +begin + require 'berkshelf/version' +rescue LoadError +end + namespace :relish do desc "Publish documentation to Relish" task :push do sh "relish push 3ofcoins/vendorificator" end @@ -23,9 +28,11 @@ require 'cucumber/rake/task' desc 'Run Cucumber features' Cucumber::Rake::Task.new(:features) do |t| t.fork = false + t.cucumber_opts = %w{--format progress} + t.cucumber_opts += %w{--tags ~@berkshelf} unless defined?(Berkshelf) end rescue LoadError desc 'Cucumber rake task not available' task :features do abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'