[ARVADOS] updated: 1.3.0-812-gd8a49eed1
Git user
git at public.curoverse.com
Wed Apr 24 15:38:39 UTC 2019
Summary of changes:
doc/Rakefile | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
via d8a49eed1dfe8dcb8b10b596dbda44929e78e72b (commit)
from cf1dcfb8715822f7ac5fe4fce067197dd84bad54 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit d8a49eed1dfe8dcb8b10b596dbda44929e78e72b
Author: Ward Vandewege <wvandewege at veritasgenetics.com>
Date: Wed Apr 24 11:36:57 2019 -0400
Make the doc Rakefile a little more helpful when it's missing javadoc
dependencies.
refs #14670
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege at veritasgenetics.com>
diff --git a/doc/Rakefile b/doc/Rakefile
index 752128331..35bd1a5da 100644
--- a/doc/Rakefile
+++ b/doc/Rakefile
@@ -91,13 +91,19 @@ end
file "sdk/java-v2/javadoc/index.html" do |t|
`which java`
if $? == 0
- tgt = Dir.pwd
- docfiles = []
- Dir.chdir("../sdk/java-v2") do
- STDERR.puts `gradle javadoc 2>&1`
+ `which gradle`
+ if $? != 0
+ puts "Warning: gradle not found, java sdk documentation will not be generated".colorize(:light_red)
+ else
+ tgt = Dir.pwd
+ docfiles = []
+ Dir.chdir("../sdk/java-v2") do
+ STDERR.puts `gradle javadoc 2>&1`
+ raise if $? != 0
+ end
+ cp_r("../sdk/java-v2/build/docs/javadoc", "sdk/java-v2")
+ raise if $? != 0
end
- cp_r("../sdk/java-v2/build/docs/javadoc", "sdk/java-v2")
- raise if $? != 0
else
puts "Warning: java not found, java sdk documentation will not be generated".colorize(:light_red)
end
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list