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.
18 lines
451 B
18 lines
451 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
|
|
|
|
task :sync_tool do
|
|
require 'fileutils'
|
|
FileUtils.cp "../ruby/tool/lib/core_assertions.rb", "./test/lib"
|
|
FileUtils.cp "../ruby/tool/lib/envutil.rb", "./test/lib"
|
|
FileUtils.cp "../ruby/tool/lib/find_executable.rb", "./test/lib"
|
|
end
|
|
|
|
task :default => :test
|