Skip to content

Commit

Permalink
Show error if lexbor compilation fails
Browse files Browse the repository at this point in the history
  • Loading branch information
zyc9012 committed Sep 1, 2024
1 parent 9ba703d commit af5472c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/nokolexbor/extconf.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def which(cmd)

def sys(cmd)
puts "-- #{cmd}"
unless ret = xsystem(cmd)
unless ret = xsystem(cmd, werror: true)
raise "ERROR: '#{cmd}' failed"
end
ret
Expand Down

0 comments on commit af5472c

Please sign in to comment.