[Pkg-javascript-commits] [node-iscroll] 02/03: Simplify packaging and really minify *-min.js

Balint Reczey rbalint at moszumanska.debian.org
Thu Apr 3 14:50:41 UTC 2014


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

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

commit 3cb09cadb17094d29e6b153cb310b7433d5daecc
Author: László Böszörményi (GCS) <gcs at debian.org>
Date:   Thu Apr 3 16:35:37 2014 +0200

    Simplify packaging and really minify *-min.js
---
 debian/libjs-iscroll.install | 2 ++
 debian/node-iscroll.install  | 2 ++
 debian/rules                 | 6 +-----
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/libjs-iscroll.install b/debian/libjs-iscroll.install
new file mode 100644
index 0000000..c157fc8
--- /dev/null
+++ b/debian/libjs-iscroll.install
@@ -0,0 +1,2 @@
+build/*.js usr/share/javascript/iscroll/
+dist/*.js usr/share/javascript/iscroll/
\ No newline at end of file
diff --git a/debian/node-iscroll.install b/debian/node-iscroll.install
new file mode 100644
index 0000000..881feaf
--- /dev/null
+++ b/debian/node-iscroll.install
@@ -0,0 +1,2 @@
+build/*.js usr/lib/nodejs/iscroll/
+dist/*.js usr/lib/nodejs/iscroll/
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 2edf849..b482f58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,8 +5,4 @@ build %:
 override_dh_auto_build:
 	mkdir dist
 	nodejs build.js
-
-override_dh_auto_install:
-	dh_auto_install
-	install -m 644 build/*.js dist/*.js $(CURDIR)/debian/libjs-iscroll/usr/share/javascript/iscroll/
-	install -m 644 build/*.js dist/*.js $(CURDIR)/debian/node-iscroll/usr/lib/nodejs/iscroll/
+	uglifyjs --overwrite dist/iscroll-min.js

-- 
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