Sha256: cfd16e7d454a7012b1366a3b2416cbfaaeeef91e642419fbf4772d797df61381
Contents?: true
Size: 577 Bytes
Versions: 2
Compression:
Stored size: 577 Bytes
Contents
begin require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:"bake:rspec") do |t| t.verbose = false RakeNBake::AssistantBaker.log_step 'Running specs' end RSpec::Core::RakeTask.new(:"bake:rspec_test_prepare" => :"test:prepare") do |t| t.verbose = false end rescue LoadError namespace :bake do %w[rspec rspec_test_prepare].map(&:to_sym).each do |t| desc 'RSpec rake tasks are not available (gem not installed)' task t do RakeNBake::AssistantBaker.log_missing_gem 'rspec', 'RSpec' abort end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rake-n-bake-1.1.4 | tasks/rspec.rake |
rake-n-bake-1.1.3 | tasks/rspec.rake |