2016-11-10 05:06:38 +03:00
|
|
|
task default: %w[test]
|
|
|
|
|
|
|
|
task :test do
|
2016-11-10 07:24:10 +03:00
|
|
|
Dir["./tests/*.rb"].each do |test_file|
|
2016-11-10 07:57:13 +03:00
|
|
|
begin
|
|
|
|
ruby test_file
|
|
|
|
rescue
|
|
|
|
puts "FAILED #{test_file}!"
|
|
|
|
end
|
2016-11-10 07:24:10 +03:00
|
|
|
end
|
2016-11-10 05:06:38 +03:00
|
|
|
end
|