[Pkg-javascript-commits] [acorn] 01/01: Improve the loose plugin

Julien Puydt julien.puydt at laposte.net
Sat Aug 19 08:58:44 UTC 2017


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

jpuydt-guest pushed a commit to branch master
in repository acorn.

commit 3264e6dfa292282ae3b2db982bef293cfd199da8
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Sat Aug 19 09:37:43 2017 +0200

    Improve the loose plugin
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 221640a..c3078ad 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@ override_dh_auto_build: dist $(TARGETS) $(MANPAGES)
 	# I guess rollup is better than node-es6-module-transpiler...
 	# but we don't have rollup (yet)
 	find dist -name index.js -exec sed -i {} $(SED_EXPR) \;
+	sed -i dist/loose/index.js -e 's/tabSize = 4/tabSize=4;var LooseParser=\$$$$state$$$$.LooseParser;var pluginsLoose=$$$$state$$$$.pluginsLoose;/g'
 	mv dist/bin/acorn.js dist/bin/acorn
 	chmod a+x dist/bin/acorn
 	sed -i dist/bin/acorn -e 's/\$$//g'

-- 
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