[Pkg-mozext-commits] [jpm.sh] 28/43: Implemented silent rules. Added TODO.

Hema Prathaban hemaprathaban-guest at moszumanska.debian.org
Thu Aug 17 07:52:36 UTC 2017


This is an automated email from the git hooks/post-receive script.

hemaprathaban-guest pushed a commit to branch master
in repository jpm.sh.

commit 92d77cf444a0c7fea2cc92abf138068ba4075178
Author: nord-stream <nord-stream at ochaken.jp.eu.org>
Date:   Wed Mar 16 04:40:42 2016 +0000

    Implemented silent rules. Added TODO.
---
 README.markdown  | 1 +
 bin/jpm-build.sh | 4 ++--
 lib/console.sh   | 1 +
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/README.markdown b/README.markdown
index a798b6c..7517da4 100644
--- a/README.markdown
+++ b/README.markdown
@@ -45,6 +45,7 @@ available)
 
 ## TODO
 * More documentation work needed.
+* Unimplemented: em:translator
 
 ## License
 Please consult [FSF](https://www.fsf.org/) for whether using this program to
diff --git a/bin/jpm-build.sh b/bin/jpm-build.sh
index d83510f..9d2e4be 100755
--- a/bin/jpm-build.sh
+++ b/bin/jpm-build.sh
@@ -45,7 +45,7 @@ gManifestPath=./version_info
 # Build a .xpi package
 
 # Load manifest data
-jpmConsoleNotice "Loading: $gManifestPath"
+jpmConsoleLog "Loading: $gManifestPath"
 [ -f "$gManifestPath" ] || {
 	jpmConsoleError "No such file: $gManifestPath"
 	exit 1
@@ -56,7 +56,7 @@ jpmConsoleNotice "Loading: $gManifestPath"
 # Production build
 isProdBuild=1
 
-jpmConsoleNotice "Building .xpi ..."
+jpmConsoleLog "Building .xpi ..."
 # The package is streamed into STDOUT
 # And the package name into fd #3 (if requested)
 jpmXpiBuild "$isProdBuild" "$printPackageName"
diff --git a/lib/console.sh b/lib/console.sh
index 7ce0538..e297cf8 100644
--- a/lib/console.sh
+++ b/lib/console.sh
@@ -38,6 +38,7 @@ progressFilter () {
 }
 
 jpmConsoleLog () {
+	[ "$JPM_SILENT" ] && return
 	[ -t 2 ] && [ -z "$ZOMBIE_NOCOLOR" ] && {
 		printf "${TERM_UNIMPORTANT}[%s]${TERM_ENDC} ${TERM_OKBLUE}%s${TERM_ENDC}\n"	"`date`" "$@" >&2
 	:;} || {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/jpm.sh.git



More information about the Pkg-mozext-commits mailing list