Sha256: 2f6c5c69983f1d85e530685206deb8da2175d090486111c2ffc20dfa2adfa360

Contents?: true

Size: 445 Bytes

Versions: 5

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_zaez_banner-3.0.4 Rakefile
spree_zaez_banner-3.0.3 Rakefile
spree_zaez_banner-3.0.2 Rakefile
spree_zaez_banner-3.0.1 Rakefile
spree_zaez_banner-3.0.0 Rakefile