Sha256: e62c5d75defe0829c3772691381f93f905f281cf197225b2cf1de27c84b32e11
Contents?: true
Size: 609 Bytes
Versions: 2
Compression:
Stored size: 609 Bytes
Contents
# frozen_string_literal: true require 'bundler' Bundler::GemHelper.install_tasks begin require 'spree/testing_support/extension_rake' require 'rubocop/rake_task' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) RuboCop::RakeTask.new task default: %i(first_run rubocop spec) rescue LoadError # no rspec available end task :first_run do if Dir['spec/dummy'].empty? Rake::Task[:test_app].invoke Dir.chdir('../../') end end desc 'Generates a dummy app for testing' task :test_app do ENV['LIB_NAME'] = 'solidus_drip' Rake::Task['extension:test_app'].invoke end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_drip-0.1.0 | Rakefile |
solidus_drip-0.0.1 | Rakefile |