[Pkg-mozext-commits] [wot] 02/03: Minify proper JavaScript file at build time

David Prévot taffit at moszumanska.debian.org
Wed Jun 10 22:18:43 UTC 2015


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

taffit pushed a commit to branch master
in repository wot.

commit d8e3cabba2c9016090cfea598ae5261b6a1a9792
Author: David Prévot <david at tilapin.org>
Date:   Wed Jun 10 18:01:31 2015 -0400

    Minify proper JavaScript file at build time
---
 debian/clean | 1 +
 debian/rules | 4 +---
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..3fb93b1
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+chrome/wot.jar!/content/libs/jquery.js
diff --git a/debian/rules b/debian/rules
index 87e765f..fe70ef7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,11 +3,9 @@
 	dh $@ --with xul-ext --buildsystem=xul_ext
 
 override_dh_auto_build:
-	mv $(CURDIR)/chrome/wot.jar\!/content/libs/jquery.js $(CURDIR)/debian/jquery.js.bkp
 	uglifyjs -o $(CURDIR)/chrome/wot.jar\!/content/libs/jquery.js \
-		$(CURDIR)/chrome/wot.jar\!/content/libs/jquery-ui-1.9.2.custom.js
+		$(CURDIR)/debian/missing-sources/jquery.js
 	dh_auto_build -O--buildsystem=xul_ext
-	mv $(CURDIR)/debian/jquery.js.bkp $(CURDIR)/chrome/wot.jar\!/content/libs/jquery.js
 
 override_dh_auto_install:
 	install-xpi --remove-license-files xul-ext-wot.xpi

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



More information about the Pkg-mozext-commits mailing list