[Pkg-javascript-commits] [node-rollup-plugin-commonjs] 01/01: Improve d/rules

Julien Puydt julien.puydt at laposte.net
Fri Oct 27 10:37:23 UTC 2017


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

jpuydt-guest pushed a commit to branch master
in repository node-rollup-plugin-commonjs.

commit c3b13135c38c1b2b748adc1f598fd8c6dc1394f7
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Fri Oct 27 12:34:30 2017 +0200

    Improve d/rules
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 ++++
 2 files changed, 10 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index df9a16c..85f3258 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-rollup-plugin-commonjs (8.2.4-2) UNRELEASED; urgency=medium
+
+  * Improve d/rules (Closes: #879923).
+
+ -- Julien Puydt <julien.puydt at laposte.net>  Fri, 27 Oct 2017 12:33:18 +0200
+
 node-rollup-plugin-commonjs (8.2.4-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/rules b/debian/rules
index c01f249..75a45ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,10 @@ COMPILE_MODULES = compile-modules convert -f commonjs -I/usr/lib/nodejs/graceful
 
 override_dh_auto_build: dist $(TARGETS)
 	sed -i dist/index.js -e "s/exports.*/module.exports = commonjs;/g"
+	sed -i dist/transform.js -e 's/\["default"\]//g'
+
+override_dh_auto_clean:
+	rm -rf dist
 
 dist:
 	mkdir dist

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-rollup-plugin-commonjs.git



More information about the Pkg-javascript-commits mailing list