[Pkg-javascript-commits] [node-livescript] 02/02: use nodejs command
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sat Oct 15 17:09:20 UTC 2016
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository node-livescript.
commit 4245dc2a008ba62e6d21b4c173a179f463755ab4
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Oct 15 22:34:55 2016 +0530
use nodejs command
---
debian/patches/use_nodejs.patch | 33 ++++++++++++++++++++++++---------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/debian/patches/use_nodejs.patch b/debian/patches/use_nodejs.patch
index 318e3a7..d014621 100644
--- a/debian/patches/use_nodejs.patch
+++ b/debian/patches/use_nodejs.patch
@@ -1,6 +1,8 @@
---- a/Makefile
-+++ b/Makefile
-@@ -43,7 +43,7 @@
+Index: node-livescript/Makefile
+===================================================================
+--- node-livescript.orig/Makefile
++++ node-livescript/Makefile
+@@ -43,7 +43,7 @@ full:
make force && make force && make test && make coverage
install: build
@@ -9,7 +11,7 @@
dev-install: package.json
npm install .
-@@ -52,7 +52,7 @@
+@@ -52,7 +52,7 @@ test: build
./scripts/test
test-harmony: build
@@ -18,7 +20,7 @@
coverage: build
$(ISTANBUL) cover ./scripts/test
-@@ -61,8 +61,8 @@
+@@ -61,8 +61,8 @@ loc:
wc --lines src/*
clean:
@@ -31,19 +33,32 @@
rm -rf coverage
- rm -f package.json
+# rm -f package.json
---- a/bin/lsc
-+++ b/bin/lsc
+Index: node-livescript/bin/lsc
+===================================================================
+--- node-livescript.orig/bin/lsc
++++ node-livescript/bin/lsc
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/env nodejs
var path = require('path'),
fs = require('fs'),
---- a/scripts/test
-+++ b/scripts/test
+Index: node-livescript/scripts/test
+===================================================================
+--- node-livescript.orig/scripts/test
++++ node-livescript/scripts/test
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/env nodejs
(function() {
var fs = require("fs");
+Index: node-livescript/scripts/build-parser
+===================================================================
+--- node-livescript.orig/scripts/build-parser
++++ node-livescript/scripts/build-parser
+@@ -1,3 +1,3 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+
+ console.log(require("../lib/grammar").generate());
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-livescript.git
More information about the Pkg-javascript-commits
mailing list