Sha256: a5bf32e1c3a4975efece027069eb45dd33fe43608d5e2a39a13fba7ee3d26235

Contents?: true

Size: 438 Bytes

Versions: 15

Compression:

Stored size: 438 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/auth'
  Rake::Task['extension:test_app'].invoke
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spree_auth_devise-4.6.3 Rakefile
spree_auth_devise-4.6.2 Rakefile
spree_auth_devise-4.6.1 Rakefile
spree_auth_devise-4.6.0 Rakefile
spree_auth_devise-4.5.0 Rakefile
spree_auth_devise-4.4.2 Rakefile
spree_auth_devise-4.2.1 Rakefile
spree_auth_devise-4.4.1 Rakefile
spree_auth_devise-4.4.0 Rakefile
spree_auth_devise-4.3.4 Rakefile
spree_auth_devise-4.3.3 Rakefile
spree_auth_devise-4.3.2 Rakefile
spree_auth_devise-4.3.1 Rakefile
spree_auth_devise-4.3.0 Rakefile
spree_auth_devise-4.2.0 Rakefile