[Pkg-mozext-commits] [perspectives-extension] 18/19: Minify JavaScript at build time
David Prévot
taffit at moszumanska.debian.org
Sun Oct 12 16:35:40 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository perspectives-extension.
commit 53fa7e632e12a4fb045372e5ef48594adb6707c9
Author: David Prévot <taffit at debian.org>
Date: Sun Oct 12 10:51:04 2014 -0400
Minify JavaScript at build time
---
debian/control | 6 +++++-
debian/rules | 8 ++++++--
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 041f144..890fd20 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,11 @@ Section: web
Priority: optional
Maintainer: Debian Mozilla Extension Maintainers <pkg-mozext-maintainers at lists.alioth.debian.org>
Uploaders: David Prévot <taffit at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), mozilla-devscripts, python-lxml, zip
+Build-Depends: debhelper (>= 7.0.50~),
+ mozilla-devscripts,
+ node-uglify,
+ python-lxml,
+ zip
Standards-Version: 3.9.6
Homepage: http://perspectives-project.org/
Vcs-Git: git://anonscm.debian.org/pkg-mozext/perspectives-extension.git
diff --git a/debian/rules b/debian/rules
index 5243305..9b2b7c4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,8 +4,12 @@
override_dh_auto_install:
install-xpi Perspectives.xpi
- rm -r $(CURDIR)/debian/xul-ext-perspectives/usr/share/xul-ext/perspectives/chrome/content/credits
- rm -r $(CURDIR)/debian/xul-ext-perspectives/usr/share/xul-ext/perspectives/chrome/content/test
+ rm -r $(CURDIR)/debian/xul-ext-perspectives/usr/share/xul-ext/perspectives/chrome/content/credits \
+ $(CURDIR)/debian/xul-ext-perspectives/usr/share/xul-ext/perspectives/chrome/content/test \
+ $(CURDIR)/debian/xul-ext-perspectives/usr/share/xul-ext/perspectives/chrome/content/extlib/spark-md5.min.js
+ uglifyjs -o \
+ $(CURDIR)/debian/xul-ext-perspectives/usr/share/xul-ext/perspectives/chrome/content/extlib/spark-md5.min.js \
+ $(CURDIR)/debian/spark-md5.js
get-orig-source:
uscan --verbose --rename --force
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git
More information about the Pkg-mozext-commits
mailing list