[Pkg-javascript-commits] [acorn] 01/03: Fix #848507
Bastien Roucariès
rouca at moszumanska.debian.org
Sat Aug 19 14:21:20 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 9f43fe17a2f37ce4de243380b20952c290cbc366
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Sat Aug 19 15:48:38 2017 +0200
Fix #848507
---
debian/changelog | 10 ++++++++--
debian/rules | 13 ++++++++-----
2 files changed, 16 insertions(+), 7 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 818e818..327cb60 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,10 +1,16 @@
-acorn (5.1.1+ds1-2) UNRELEASED; urgency=medium
+acorn (5.1.1+ds1-2) unstable; urgency=medium
+ [ Julien Puydt ]
* Bump std-ver to 4.0.1.
* Use node instead of nodejs now.
* Improve the loose plugin.
- -- Julien Puydt <julien.puydt at laposte.net> Fri, 18 Aug 2017 16:02:05 +0200
+ [ Bastien Roucariès ]
+ * Bug fix: "Acorn does not build walk", thanks to Ross Gammon (Closes:
+ #848507).
+ * Enable test suite.
+
+ -- Bastien Roucariès <rouca at debian.org> Sat, 19 Aug 2017 15:48:17 +0200
acorn (5.1.1+ds1-1) unstable; urgency=high
diff --git a/debian/rules b/debian/rules
index c3078ad..eb67559 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,11 +23,15 @@ override_dh_auto_build: dist $(TARGETS) $(MANPAGES)
chmod a+x dist/bin/acorn
sed -i dist/bin/acorn -e 's/\$$//g'
sed -i dist/bin/acorn -e 's|"use strict";|#!/usr/bin/node|'
- # recreate symlink
+ # recreate symlink (need to go with rollup)
ln -s dist/index.js acorn.js
ln -s dist/index.js index.js
ln -s index.js dist/acorn.js
ln -s loose dist/acorn_loose
+ ln -s walk dist/acorn_walk
+ # fix #848507 (need to go with rollup)
+ echo "require('./walk/')" > dist/walk.js
+ echo "require('./loose/')" > dist/loose.js
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
override_dh_auto_test:
@@ -44,11 +48,10 @@ override_dh_auto_test:
@echo '=========================================================='
./$(TESTSUITEDIR)/binacorn < dist/index.js
@echo '=========================================================='
- # TODO
# run package testsuite
- # @echo '=========================================================='
- # nodejs test/run.js
- # @echo '=========================================================='
+ @echo '=========================================================='
+ node test/run.js
+ @echo '=========================================================='
@echo '**********************************************************'
else
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