[Pkg-javascript-commits] [jquery] 02/03: remove `//# sourceMappingURL=..` from minified file

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Sep 23 12:33:11 UTC 2015


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

terceiro pushed a commit to branch debian/1.x
in repository jquery.

commit 66049090a18e1d0fa0c7ca5589729677e447544c
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Sep 23 09:29:55 2015 -0300

    remove `//# sourceMappingURL=..` from minified file
---
 debian/changelog | 7 +++++++
 debian/rules     | 1 +
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 364043a..75047d2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+jquery (1.11.3+dfsg-4) UNRELEASED; urgency=medium
+
+  * debian/rules: remove `//# sourceMappingURL=..` magic comment from minified
+    file, as uptream does (Closes: #799825)
+
+ -- Antonio Terceiro <terceiro at debian.org>  Wed, 23 Sep 2015 09:28:52 -0300
+
 jquery (1.11.3+dfsg-3) unstable; urgency=medium
 
   * move logic from debian/build.mk to debian/rules
diff --git a/debian/rules b/debian/rules
index aed8109..d01667a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,6 +21,7 @@ dist/jquery.min.js dist/jquery.min.map: dist/jquery.js
 		--source-map-url jquery.min.map \
 		--output dist/jquery.min.js \
 		$^
+	sed -i -e '/\/\/# sourceMappingURL=\S\+/ d' dist/jquery.min.js
 
 override_dh_auto_clean:
 	$(RM) -rf dist/

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



More information about the Pkg-javascript-commits mailing list