File: remove-npm.patch

package info (click to toggle)
node-ebnf-parser 0.1.10%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 172 kB
  • sloc: javascript: 522; yacc: 236; makefile: 16
file content (22 lines) | stat: -rw-r--r-- 474 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Remove npm
Index: node-ebnf-parser/Makefile
===================================================================
--- node-ebnf-parser.orig/Makefile
+++ node-ebnf-parser/Makefile
@@ -2,13 +2,13 @@
 all: install build test
 
 install:
-	npm install
+#	npm install
 
 build:
-	nodejs ./node_modules/.bin/jison bnf.y bnf.l
+	jison bnf.y bnf.l
 	mv bnf.js parser.js
 
-	nodejs ./node_modules/.bin/jison ebnf.y
+	jison ebnf.y
 	mv ebnf.js transform-parser.js
 
 test: