summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJared Norman <jared@super.gd>2020-06-22 13:19:19 -0700
committerJared Norman <jared@super.gd>2020-06-22 13:19:19 -0700
commitc0150dca7670b929ab51c5147ef98c2ab4045599 (patch)
treeadf255de43f448005bb9709d037b6725da6d2b83 /Rakefile
parenta83c3f17352f0d250583035444fe3bdde5257f29 (diff)
Update Rakefile as per solidus_dev_support
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile21
1 files changed, 4 insertions, 17 deletions
diff --git a/Rakefile b/Rakefile
index 560b892..c08aa46 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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'