Sha256: 830f679ca10d8c7893194a04882d9c70f875fbb1d7e21cdf8f50a8e163187ade

Contents?: true

Size: 449 Bytes

Versions: 2

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_variant_columns'
  Rake::Task['extension:test_app'].invoke
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
spree_variant_columns-2.3.5 Rakefile
spree_variant_columns-2.3.5 spree_variant_columns/Rakefile