Sha256: 1f62f2705b88a4b2acb8652edfcf890d729db3e9819ebef91e246e90e9e16a07
Contents?: true
Size: 519 Bytes
Versions: 5
Compression:
Stored size: 519 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks begin require 'spree/testing_support/extension_rake' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) task default: %i(first_run spec) rescue LoadError # no rspec available end task :first_run do if Dir['spec/dummy'].empty? Rake::Task[:test_app].invoke Dir.chdir('../../') end end desc 'Generates a dummy app for testing' task :test_app do ENV['LIB_NAME'] = 'solidus-returnly' Rake::Task['extension:test_app'].invoke end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
solidus-returnly-0.4.3 | Rakefile |
solidus-returnly-0.4.2 | Rakefile |
solidus-returnly-0.4.1 | Rakefile |
solidus-returnly-0.4.0 | Rakefile |
solidus-returnly-0.3.0 | Rakefile |