Sha256: 87f85b79155064a88d9ddb1de307d28ec4b644c251e4c148a4fa5d1eae1b474e

Contents?: true

Size: 442 Bytes

Versions: 113

Compression:

Stored size: 442 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'] = '<%=file_name%>'
  Rake::Task['extension:test_app'].invoke
end

Version data entries

113 entries across 113 versions & 2 rubygems

Version Path
spree_cmd-3.7.12 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.2.0.rc1 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.0.4 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-3.7.11 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.11 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.10 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.2.0.beta lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.9 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.8 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.7 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.6 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.5 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.4 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.3 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.2 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.1 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.0 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.0.rc3 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.0.rc2 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.0.rc1 lib/spree_cmd/templates/extension/Rakefile