@ -15,7 +15,10 @@ def clippy_all
Dir.chdir(x) do
puts "Clippy: #{x}"
system('make clippy')
unless system('make clippy')
puts "\n\nClippy failed!"
exit(1) # Exit with error code
end
@ -21,7 +21,10 @@ def fmt_all(check = false)
puts "Format #{x}"
system("cargo fmt #{args}")
unless system("cargo fmt #{args}")
puts "\n\nFmt check failed!"