[Pkg-javascript-commits] [node-inline-source-map] 01/03: Fix examples
Bastien Roucariès
rouca at moszumanska.debian.org
Thu Aug 17 09:51:05 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-inline-source-map.
commit 4f4b42c7ff4e5a6547a1c5dad7de77543e02b211
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Sun Apr 16 23:06:18 2017 +0200
Fix examples
---
debian/changelog | 6 ++++++
debian/rules | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 5e2ef53..84e9e73 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+node-inline-source-map (0.6.1-3) experimental; urgency=medium
+
+ * Fix example.
+
+ -- Bastien Roucariès <rouca at debian.org> Sun, 16 Apr 2017 23:06:11 +0200
+
node-inline-source-map (0.6.1-2) unstable; urgency=medium
* Patch tests to fix FTBFS
diff --git a/debian/rules b/debian/rules
index 629ae8c..dc58d25 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,3 +9,9 @@
override_dh_auto_test:
tap test/*.js
+
+override_dh_installexamples:
+ dh_installexamples
+ find $(CURDIR)/debian/node-inline-source-map/usr/share/doc/node-inline-source-map/examples/ -name '*.js' -exec \
+ sed -i "s,require\s*[(]\s*'[.][.][^']*'\s*[)],require('inline-source-map'),g" {} \;
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-inline-source-map.git
More information about the Pkg-javascript-commits
mailing list