[Pkg-javascript-commits] [node-iscroll] 11/13: Minify all .js files

Balint Reczey rbalint at moszumanska.debian.org
Mon Jun 1 20:31:37 UTC 2015


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

rbalint pushed a commit to branch master
in repository node-iscroll.

commit 111f00be9edb7cc0187ce9b69b28d41dbd5125e4
Author: Balint Reczey <balint at balintreczey.hu>
Date:   Mon Jun 1 22:05:08 2015 +0200

    Minify all .js files
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index ee0613e..f1ed5a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,5 +10,7 @@
 override_dh_auto_build:
 	mkdir dist build
 	nodejs build.js dist
-	uglifyjs  build/iscroll.js > dist/iscroll-min.js
+	for i in iscroll iscroll-infinite iscroll-lite iscroll-probe iscroll-zoom; do \
+		uglifyjs < build/$$i.js > dist/$$i-min.js ;\
+	done
 	sed -i 's|../../build|/usr/share/javascript/iscroll|' demos/*/*.html

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-iscroll.git



More information about the Pkg-javascript-commits mailing list