You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ja...@apache.org on 2019/05/03 15:06:49 UTC

[incubator-openwhisk-package-cloudant] branch master updated: Add --quiet/-q to recursive zip commands (#206)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 5631e79  Add --quiet/-q to recursive zip commands (#206)
5631e79 is described below

commit 5631e79f90dac31387a04a15abcbe40742fdfbce
Author: Anthony Amanse <jo...@obf.ateneo.edu>
AuthorDate: Fri May 3 08:06:44 2019 -0700

    Add --quiet/-q to recursive zip commands (#206)
    
    This commit makes the zip command not output lines of all the
    files it adds in the compressed file.
    The lines can reach to thousand of lines without the -q option.
    This makes it easy to scroll through the progress of the script.
---
 installCatalog.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/installCatalog.sh b/installCatalog.sh
index 526a728..e9513e7 100755
--- a/installCatalog.sh
+++ b/installCatalog.sh
@@ -67,7 +67,7 @@ if [ -e changesFeed.zip ]; then
 fi
 
 cp -f changesFeed_package.json package.json
-zip -r changesFeed.zip lib package.json changes.js
+zip -r changesFeed.zip lib package.json changes.js -q
 
 $WSK_CLI -i --apihost "$EDGEHOST" action update --kind "$ACTION_RUNTIME_VERSION" --auth "$AUTH" cloudant/changes "$PACKAGE_HOME/actions/event-actions/changesFeed.zip" \
     -t 90000 \
@@ -95,7 +95,7 @@ if [ -e changesWebAction.zip ]; then
     rm -rf changesWebAction.zip
 fi
 
-zip -r changesWebAction.zip lib package.json changesWebAction.js node_modules
+zip -r changesWebAction.zip lib package.json changesWebAction.js node_modules -q
 
 $WSK_CLI -i --apihost "$EDGEHOST" action update --kind "$ACTION_RUNTIME_VERSION" --auth "$AUTH" cloudantWeb/changesWebAction "$PACKAGE_HOME/actions/event-actions/changesWebAction.zip" \
     -a description 'Create/Delete a trigger in cloudant provider Database' \