mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
383 B
20 lines
383 B
require 'bundler/gem_tasks'
|
|
require 'rake/testtask'
|
|
|
|
Rake::TestTask.new(:test) do |t|
|
|
t.libs << 'test/lib'
|
|
t.ruby_opts << '-rhelper'
|
|
t.test_files = FileList['test/**/test_*.rb']
|
|
end
|
|
|
|
case RUBY_ENGINE
|
|
when 'jruby', 'truffleruby'
|
|
# not using C extension
|
|
else
|
|
require 'rake/extensiontask'
|
|
Rake::ExtensionTask.new('erb/escape')
|
|
task test: :compile
|
|
end
|
|
|
|
task default: :test
|