Rakefile in spreewald-1.11.1 vs Rakefile in spreewald-1.11.2
- old
+ new
@@ -2,10 +2,16 @@
require "bundler/gem_tasks"
desc 'Default: Run all tests.'
task :default => 'all:rubies'
+begin
+ require 'rspec/core/rake_task'
+ RSpec::Core::RakeTask.new(:spec)
+rescue LoadError
+end
+
desc 'Update the "Steps" section of the README'
task :update_readme do
readme_path = 'README.md'
if Kernel.respond_to? :require_relative
require_relative './support/step_manager'
@@ -76,10 +82,11 @@
end
current_version = `#{execute} ruby -v`.match(/^ruby (\d\.\d\.\d)/)[1]
if current_version == ruby_version
puts "Currently active Ruby is #{current_version}"
- system "#{execute} rake all:bundle all:features"
+ system "#{execute} bundle"
+ system "#{execute} rake all:bundle spec all:features"
else
fail "Failed to set Ruby #{ruby_version} (#{current_version} active!)"
end
end
end