Skip to content

Commit 8033054

Browse files
committed
Abort if validation fails
1 parent f138ea4 commit 8033054

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ end
5656
task :validate => :compile do
5757
require 'yaml'
5858

59-
sh "#{ruby} #{rbs} validate"
59+
sh "#{ruby} #{rbs} validate --exit-error-on-syntax-error"
6060

6161
libs = FileList["stdlib/*"].map {|path| File.basename(path).to_s }
6262

@@ -72,7 +72,7 @@ task :validate => :compile do
7272
end
7373

7474
libs.each do |lib|
75-
sh "#{ruby} #{rbs} -r #{lib} validate"
75+
sh "#{ruby} #{rbs} -r #{lib} validate --exit-error-on-syntax-error"
7676
end
7777
end
7878

0 commit comments

Comments
 (0)