projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
11167: Test adjusted.
[arvados.git]
/
doc
/
Rakefile
diff --git
a/doc/Rakefile
b/doc/Rakefile
index 811ca67c2c09cca0efbaf7b23fb2200feae97a76..f68a96471d51060a4adc88451916a561c2f8b075 100644
(file)
--- a/
doc/Rakefile
+++ b/
doc/Rakefile
@@
-1,4
+1,7
@@
#!/usr/bin/env rake
#!/usr/bin/env rake
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: CC-BY-SA-3.0
require "rubygems"
require "colorize"
require "rubygems"
require "colorize"
@@
-15,7
+18,8
@@
end
file "sdk/python/arvados/index.html" do |t|
`which epydoc`
if $? == 0
file "sdk/python/arvados/index.html" do |t|
`which epydoc`
if $? == 0
- `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/`
+ STDERR.puts `epydoc --html --parse-only -o sdk/python/arvados ../sdk/python/arvados/ 2>&1`
+ raise if $? != 0
else
puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red)
end
else
puts "Warning: epydoc not found, Python documentation will not be generated".colorize(:light_red)
end