mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
parent
1e519abe21
commit
6bd997ecfd
1 changed files with 1 additions and 8 deletions
|
@ -84,14 +84,7 @@ Use --overwrite to force rebuilding of documentation.
|
||||||
FileUtils.rm_rf File.join(spec.doc_dir, "rdoc")
|
FileUtils.rm_rf File.join(spec.doc_dir, "rdoc")
|
||||||
end
|
end
|
||||||
|
|
||||||
begin
|
|
||||||
doc.generate
|
doc.generate
|
||||||
rescue Errno::ENOENT => e
|
|
||||||
match = e.message.include?(" - ")
|
|
||||||
alert_error "Unable to document #{spec.full_name}, " \
|
|
||||||
" #{match.post_match} is missing, skipping"
|
|
||||||
terminate_interaction 1 if specs.length == 1
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue