Sha256: c6f31b83c51f5069bd11802263beba70e58009868855959ea3664c5c24bdfaed

Contents?: true

Size: 443 Bytes

Versions: 6

Compression:

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spree_channable-0.0.24 Rakefile
spree_channable-0.0.23 Rakefile
spree_channable-0.0.22 Rakefile
spree_channable-0.0.21 Rakefile
spree_channable-0.0.20 Rakefile
spree_channable-0.0.18.alpha Rakefile