Sha256: 9b45b2dd2a8cbd74c123d3da275e79ece6ad243178571ea48dd068bb18727d95

Contents?: true

Size: 446 Bytes

Versions: 12

Compression:

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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
solidus_searchkick-0.3.4 Rakefile
solidus_searchkick-0.3.3 Rakefile
solidus_searchkick-0.3.2 Rakefile
solidus_searchkick-0.3.1 Rakefile
solidus_searchkick-0.3.0 Rakefile
solidus_searchkick-0.2.3 Rakefile
solidus_searchkick-0.2.2 Rakefile
solidus_searchkick-0.2.1 Rakefile
solidus_searchkick-0.2 Rakefile
solidus_searchkick-0.1.2 Rakefile
solidus_searchkick-0.1.1 Rakefile
solidus_searchkick-0.1.0 Rakefile