Sha256: 741e19d9bc2466187cc56e0110904cdab1d78b1ed35424930e63c2d93c5cfdea

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_taxon_group-3.1.0.beta Rakefile
spree_taxon_group-3.0.0.beta Rakefile