[Pkg-javascript-commits] [node-ebnf-parser] 03/08: use nodejs command
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Oct 9 14:34:36 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-ebnf-parser.
commit 78edaef085735f67529dcdfe80adcc17b16ba159
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sun Oct 9 19:17:25 2016 +0530
use nodejs command
---
debian/patches/series | 1 +
debian/patches/use_nodejs.patch | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9b41a8d
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use_nodejs.patch
diff --git a/debian/patches/use_nodejs.patch b/debian/patches/use_nodejs.patch
new file mode 100644
index 0000000..d16348c
--- /dev/null
+++ b/debian/patches/use_nodejs.patch
@@ -0,0 +1,20 @@
+--- a/Makefile
++++ b/Makefile
+@@ -5,14 +5,14 @@
+ npm install
+
+ build:
+- node ./node_modules/.bin/jison bnf.y bnf.l
++ nodejs ./node_modules/.bin/jison bnf.y bnf.l
+ mv bnf.js parser.js
+
+- node ./node_modules/.bin/jison ebnf.y
++ nodejs ./node_modules/.bin/jison ebnf.y
+ mv ebnf.js transform-parser.js
+
+ test:
+- node tests/all-tests.js
++ nodejs tests/all-tests.js
+
+
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-ebnf-parser.git
More information about the Pkg-javascript-commits
mailing list