Sha256: 23dd809ba29a90cf6b6e504bd25898161b662fca50823fa749e7e7ca778ea096
Contents?: true
Size: 590 Bytes
Versions: 3
Compression:
Stored size: 590 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks begin require 'spree/testing_support/extension_rake' require 'rubocop/rake_task' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) RuboCop::RakeTask.new task default: %i(first_run rubocop 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_paypal_braintree' Rake::Task['extension:test_app'].invoke end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solidus_paypal_braintree-0.3.0 | Rakefile |
solidus_paypal_braintree-0.2.0 | Rakefile |
solidus_paypal_braintree-0.1.0 | Rakefile |