Sha256: e6d8ac8e13e5a62940b94cd0df1533e3b82d4ad06fcf6e775301c9b717571d1c

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_barcode-2.3.2 Rakefile