2019-01-04 19:43:11 -05:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require "bundler/setup"
|
|
|
|
require "bundler/gem_tasks"
|
|
|
|
require "rake/testtask"
|
|
|
|
|
2019-01-08 13:36:33 -05:00
|
|
|
task :package
|
|
|
|
|
2019-01-04 19:43:11 -05:00
|
|
|
Rake::TestTask.new do |t|
|
|
|
|
t.libs << "test"
|
2019-05-13 12:44:06 -04:00
|
|
|
t.test_files = FileList["test/**/*_test.rb"].exclude("test/system/**/*", "test/dummy/**/*")
|
|
|
|
t.verbose = true
|
|
|
|
end
|
|
|
|
|
|
|
|
Rake::TestTask.new "test:system" do |t|
|
|
|
|
t.libs << "test"
|
|
|
|
t.test_files = FileList["test/system/**/*_test.rb"]
|
2019-01-04 19:43:11 -05:00
|
|
|
t.verbose = true
|
|
|
|
end
|
|
|
|
|
|
|
|
task default: :test
|