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_cli-4.10.1 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.10.0 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.9.0 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.8.3 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.8.2 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.7.3 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.6.6 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.5.5 lib/spree_cli/templates/extension/Rakefile
spree_cmd-4.0.9 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.1.15 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.2.7 lib/spree_cmd/templates/extension/Rakefile
spree_cmd-4.3.3 lib/spree_cmd/templates/extension/Rakefile
spree_cli-4.4.1 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.5.4 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.6.5 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.7.2 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.7.1 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.6.4 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.7.0 lib/spree_cli/templates/extension/Rakefile
spree_cli-4.6.3 lib/spree_cli/templates/extension/Rakefile