diff options
-rw-r--r-- | Rakefile | 21 |
1 files changed, 4 insertions, 17 deletions
@@ -1,19 +1,6 @@ -require "bundler/gem_tasks" -require "rspec/core/rake_task" -require 'spree/testing_support/extension_rake' +# frozen_string_literal: true -RSpec::Core::RakeTask.new(:spec) +require 'solidus_dev_support/rake_tasks' +SolidusDevSupport::RakeTasks.install -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'] = 'super_good/solidus_taxjar' - Rake::Task['extension:test_app'].invoke -end +task default: 'extension:specs' |