Sha256: 45eec1bce27e23dcb96216014da7ec09f70f3e51063350659d78ab00800bbf13

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_mollie-0.0.5 Rakefile
spree_mollie-0.0.4 Rakefile
spree_mollie-0.0.3 Rakefile
spree_mollie-0.0.2 Rakefile
spree_mollie-0.0.1 Rakefile