[Pkg-javascript-commits] [node-es6-shim] 09/09: Rework the fix for #814674.

Julien Puydt julien.puydt at laposte.net
Sun May 29 11:36:12 UTC 2016


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

jpuydt-guest pushed a commit to branch master
in repository node-es6-shim.

commit ce5f358517af32fb521159273ba9a3290dbb4647
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sun May 29 08:21:30 2016 +0200

    Rework the fix for #814674.
---
 debian/libjs-es6-shim.install | 2 ++
 debian/node-es6-shim.links    | 2 ++
 debian/rules                  | 7 +++----
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/debian/libjs-es6-shim.install b/debian/libjs-es6-shim.install
index fe633a8..c83b02b 100644
--- a/debian/libjs-es6-shim.install
+++ b/debian/libjs-es6-shim.install
@@ -1,4 +1,6 @@
 es6-sham.js usr/share/javascript/es6-shim/
+es6-sham.map usr/share/javascript/es6-shim/
 es6-sham.min.js usr/share/javascript/es6-shim/
 es6-shim.js usr/share/javascript/es6-shim/
+es6-shim.map usr/share/javascript/es6-shim/
 es6-shim.min.js usr/share/javascript/es6-shim/
diff --git a/debian/node-es6-shim.links b/debian/node-es6-shim.links
index c8f7f86..09679a4 100644
--- a/debian/node-es6-shim.links
+++ b/debian/node-es6-shim.links
@@ -1,2 +1,4 @@
 usr/share/javascript/es6-shim/es6-sham.js usr/lib/nodejs/es6-shim/es6-sham.js
+usr/share/javascript/es6-shim/es6-sham.map usr/lib/nodejs/es6-shim/es6-sham.map
 usr/share/javascript/es6-shim/es6-shim.js usr/lib/nodejs/es6-shim/es6-shim.js
+usr/share/javascript/es6-shim/es6-shim.map usr/lib/nodejs/es6-shim/es6-shim.map
diff --git a/debian/rules b/debian/rules
index 5c90438..2431f6f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,10 +8,9 @@
 
 override_dh_auto_build:
 	uglifyjs es6-sham.js > es6-sham.min.js
-	uglifyjs --source-map $(CURDIR)/build/es6-shim.map \
-		--output \
-		$(CURDIR)/build/es6-shim.min.js \
-		$(CURDIR)/js/vendor/es6-shim/es6-shim.js
+	uglifyjs --source-map es6-shim.map \
+		 --output es6-shim.min.js \
+		 es6-shim.js
 
 # Debian doesn't have all it takes
 override_dh_auto_test:

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



More information about the Pkg-javascript-commits mailing list