Sha256: 75dbfffa4f394e0103356f038811d42bb99d6a13fd5685abdfc6897e97b7682c

Contents?: true

Size: 449 Bytes

Versions: 14

Compression:

Stored size: 449 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
require 'spree/testing_support/extension_rake'

RSpec::Core::RakeTask.new

task :default do
  if Dir['spec/dummy'].empty?
    Rake::Task[:test_app].invoke
    Dir.chdir('../../')
  end
  Rake::Task[:spec].invoke
end

desc 'Generates a dummy app for testing'
task :test_app do
  ENV['LIB_NAME'] = 'spree_paypal_checkout'
  Rake::Task['extension:test_app'].invoke
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
spree_paypal_checkout-0.0.2 Rakefile
spree_paypal_api_checkout-0.1.5 Rakefile
spree_paypal_api_checkout-0.1.4 Rakefile
spree_paypal_api_checkout-0.1.3 Rakefile
spree_paypal_api_checkout-0.1.2 Rakefile
spree_paypal_api_checkout-0.1.1 Rakefile
spree_paypal_api_checkout-0.1.0 Rakefile
spree_paypal_api_checkout-0.0.9 Rakefile
spree_paypal_api_checkout-0.0.8 Rakefile
spree_paypal_api_checkout-0.0.7 Rakefile
spree_paypal_api_checkout-0.0.6 Rakefile
spree_paypal_api_checkout-0.0.5 Rakefile
spree_paypal_api_checkout-0.0.4 Rakefile
spree_paypal_api_checkout-0.0.3 Rakefile