You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mr...@apache.org on 2017/06/25 23:47:56 UTC

[incubator-openwhisk-website] branch master updated: build javascript in jenkins (#235)

This is an automated email from the ASF dual-hosted git repository.

mrutkowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 0193b16  build javascript in jenkins (#235)
0193b16 is described below

commit 0193b16aa63242b3a78b3c50c04921c466f7a3e5
Author: Carlos Santana <cs...@gmail.com>
AuthorDate: Sun Jun 25 19:47:52 2017 -0400

    build javascript in jenkins (#235)
---
 .gitignore                         | 1 +
 js/main.min.js                     | 2 --
 js/main.min.js.map                 | 1 -
 tools/jenkins/website_build.groovy | 2 ++
 4 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitignore b/.gitignore
index e989b21..55d4ca8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@ node_modules/
 .jekyll-metadata
 .bundle/
 Gemfile.lock
+js/
diff --git a/js/main.min.js b/js/main.min.js
deleted file mode 100644
index b67b436..0000000
--- a/js/main.min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-!function(){"use strict";var e={removeClassFromAll:function(e,s,t){var l=e.querySelectorAll(s);[].map.call(l,function(e){return e.classList.remove(t)})},setClassBySelector:function(e,s,t){e.querySelector(s).classList.add(t)},setNextActive:function(s,t,l,i,a){var n=s.querySelector("."+l).nextElementSibling;n&&n.classList&&n.classList.contains(t)||(n=s.querySelector("."+t)),e.removeClassFromAll(s,"."+t,l),e.removeClassFromAll(s,"."+i,a),n.classList.add(l),e.setClassBySelector(s,'a[href="#' [...]
-//# sourceMappingURL=main.min.js.map
diff --git a/js/main.min.js.map b/js/main.min.js.map
deleted file mode 100644
index a914080..0000000
--- a/js/main.min.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":null,"sources":["../src/scripts/blocks/quotes.js","../src/scripts/main.js"],"sourcesContent":["// This file initializes a fade slider.\nconst impure = {\n  removeClassFromAll: (container, elementSelector, classToRemove) => {\n    const elements = container.querySelectorAll(elementSelector);\n\n    // Element lists are only array-like, so we have to force mapping here.\n    [].map.call(elements, element => element.classList.remove(classToRemove));\n  },\n\n  setClassBy [...]
\ No newline at end of file
diff --git a/tools/jenkins/website_build.groovy b/tools/jenkins/website_build.groovy
index 04fe063..11f0eeb 100644
--- a/tools/jenkins/website_build.groovy
+++ b/tools/jenkins/website_build.groovy
@@ -19,6 +19,8 @@ node("git-websites") {
     which bundle
     bundle install --path ${GEM_HOME}
     bundle
+    npm install
+    npm run build:js
     bundle exec jekyll build --verbose
     ls -l _site
     '''

-- 
To stop receiving notification emails like this one, please contact
['"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>'].