diff options
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,11 +1,19 @@ task default: %w[test] task :test do + failed = false Dir["./tests/*.rb"].each do |test_file| begin - ruby test_file + ruby test_file + puts "" rescue puts "FAILED #{test_file}!" + puts "" + failed = true end end + + if failed + exit 0 + end end |