diff --git a/utils/make_all.rb b/utils/make_all.rb index 0eb0bf77..ef1681f2 100644 --- a/utils/make_all.rb +++ b/utils/make_all.rb @@ -8,6 +8,9 @@ crates.each do |x| x = File.dirname(x) puts "\n\n" + x.to_s + "\n\n" Dir.chdir(x) do - `make` + if system('make') != 0 + puts "\n\nBuild failed!" + exit(1) # Exit with error code + end end end