[Pkg-javascript-commits] [acorn] 01/01: Fix loose and walk

Bastien Roucariès rouca at moszumanska.debian.org
Wed Sep 6 09:58:52 UTC 2017


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

rouca pushed a commit to branch master
in repository acorn.

commit 5699bf9136db727708800a0906f73378fce24b56
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Mon Aug 28 00:18:49 2017 +0200

    Fix loose and walk
---
 debian/changelog | 8 ++++++++
 debian/rules     | 5 +++--
 2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 0122d8d..7113605 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+acorn (5.1.1+ds1-3) unstable; urgency=medium
+
+  * Team upload
+  * Create compatibility dist link
+  * Fix loose and walk
+
+ -- Bastien Roucariès <rouca at debian.org>  Mon, 28 Aug 2017 00:06:45 +0200
+
 acorn (5.1.1+ds1-2) unstable; urgency=medium
 
   * Team upload
diff --git a/debian/rules b/debian/rules
index eb67559..ccdef69 100755
--- a/debian/rules
+++ b/debian/rules
@@ -29,9 +29,10 @@ override_dh_auto_build: dist $(TARGETS) $(MANPAGES)
 	ln -s index.js dist/acorn.js
 	ln -s loose dist/acorn_loose
 	ln -s walk dist/acorn_walk
+	ln -s . dist/dist
 	# fix #848507 (need to go with rollup)
-	echo "require('./walk/')" > dist/walk.js
-	echo "require('./loose/')" > dist/loose.js
+	echo "walk = require('./walk/'); module.exports = walk; " > dist/walk.js
+	echo "loose = require('./loose/'); module.exports = loose;" > dist/loose.js
 
 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
 override_dh_auto_test:

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



More information about the Pkg-javascript-commits mailing list