yetus-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject yetus git commit: YETUS-339. Make the site config file pass rubocop
Date Thu, 30 Jun 2016 15:50:11 GMT
Repository: yetus
Updated Branches:
  refs/heads/master 906fa1b5b -> 420bfa830


YETUS-339. Make the site config file pass rubocop

Signed-off-by: Allen Wittenauer <aw@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/yetus/repo
Commit: http://git-wip-us.apache.org/repos/asf/yetus/commit/420bfa83
Tree: http://git-wip-us.apache.org/repos/asf/yetus/tree/420bfa83
Diff: http://git-wip-us.apache.org/repos/asf/yetus/diff/420bfa83

Branch: refs/heads/master
Commit: 420bfa830b8686747d4e274be902e29b0b32b3c3
Parents: 906fa1b
Author: Kengo Seki <sekikn@apache.org>
Authored: Sun Jun 26 03:01:11 2016 +0900
Committer: Allen Wittenauer <aw@apache.org>
Committed: Thu Jun 30 08:48:46 2016 -0700

----------------------------------------------------------------------
 asf-site-src/config.rb | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/yetus/blob/420bfa83/asf-site-src/config.rb
----------------------------------------------------------------------
diff --git a/asf-site-src/config.rb b/asf-site-src/config.rb
index 1dd9814..8562d14 100644
--- a/asf-site-src/config.rb
+++ b/asf-site-src/config.rb
@@ -123,14 +123,17 @@ def build_release_docs(output, version) # rubocop:disable Metrics/AbcSize
   FileUtils.mkdir "#{output}/#{version}"
   FileUtils.mv(
     Dir.glob("#{output}/build-#{version}/asf-site-src/source/documentation/in-progress/*.md*"),
-    "#{output}/#{version}/")
+    "#{output}/#{version}/"
+  )
   FileUtils.mv(
     "#{output}/build-#{version}/asf-site-src/source/documentation/in-progress.html.md",
-    "#{output}/#{version}.html.md")
+    "#{output}/#{version}.html.md"
+  )
   FileUtils.mkdir "#{output}/#{version}/precommit-apidocs"
   precommit_shelldocs(
     "#{output}/#{version}/precommit-apidocs",
-    "#{output}/build-#{version}/precommit")
+    "#{output}/build-#{version}/precommit"
+  )
 
   puts "\tgenerating javadocs"
   `(cd "#{output}/build-#{version}/audience-annotations-component" && mvn -DskipTests
-Pinclude-jdiff-module javadoc:aggregate) >"#{output}/#{version}_mvn.log" 2>&1`
# rubocop:disable Metrics/LineLength
@@ -168,7 +171,9 @@ after_configuration do
     ApiDocs.new(
       sitemap,
       'documentation/in-progress/audience-annotations-apidocs',
-      '../audience-annotations-component/target/site/apidocs'))
+      '../audience-annotations-component/target/site/apidocs'
+    )
+  )
 
   # For Precommit we regenerate source files so they can be rendered.
   # we rely on a symlink. to avoid an error from the file watcher, our target
@@ -187,7 +192,9 @@ after_configuration do
         ApiDocs.new(
           sitemap,
           "documentation/#{release}/audience-annotations-apidocs",
-          "../target/build-#{release}/audience-annotations-component/target/site/apidocs"))
+          "../target/build-#{release}/audience-annotations-component/target/site/apidocs"
+        )
+      )
     end
   end
 end


Mime
View raw message