Fail if couldn't build Agda
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
4e1fd54c58
commit
96c4d6fecc
|
@ -32,5 +32,6 @@ files_for_paths.each do |path, files|
|
||||||
files.each do |file|
|
files.each do |file|
|
||||||
puts "Invoking 'agda' on file: #{File.join [Dir.getwd, file]}"
|
puts "Invoking 'agda' on file: #{File.join [Dir.getwd, file]}"
|
||||||
`#{ARGV[0]} --local-interfaces #{file} --html --html-dir=html`
|
`#{ARGV[0]} --local-interfaces #{file} --html --html-dir=html`
|
||||||
|
fail unless $? == 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user