[Pkg-javascript-commits] [node-livescript] 02/05: Now nodejs rename is not necessary

Jérémy Lal kapouer at moszumanska.debian.org
Wed Jan 3 22:48:01 UTC 2018


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

kapouer pushed a commit to branch master
in repository node-livescript.

commit 86b9b43be39b8b073e670b1f06bf1085aa2a6e44
Author: Jérémy Lal <kapouer at melix.org>
Date:   Wed Jan 3 23:40:31 2018 +0100

    Now nodejs rename is not necessary
---
 debian/patches/use_nodejs.patch | 48 ++++-------------------------------------
 1 file changed, 4 insertions(+), 44 deletions(-)

diff --git a/debian/patches/use_nodejs.patch b/debian/patches/use_nodejs.patch
index d014621..71ca569 100644
--- a/debian/patches/use_nodejs.patch
+++ b/debian/patches/use_nodejs.patch
@@ -1,8 +1,6 @@
-Index: node-livescript/Makefile
-===================================================================
---- node-livescript.orig/Makefile
-+++ node-livescript/Makefile
-@@ -43,7 +43,7 @@ full:
+--- a/Makefile
++++ b/Makefile
+@@ -43,7 +43,7 @@
  	make force && make force && make test && make coverage
  
  install: build
@@ -11,16 +9,7 @@ Index: node-livescript/Makefile
  
  dev-install: package.json
  	npm install .
-@@ -52,7 +52,7 @@ test: build
- 	./scripts/test
- 
- test-harmony: build
--	node --harmony ./scripts/test
-+	nodejs --harmony ./scripts/test
- 
- coverage: build
- 	$(ISTANBUL) cover ./scripts/test
-@@ -61,8 +61,8 @@ loc:
+@@ -61,8 +61,8 @@
  	wc --lines src/*
  
  clean:
@@ -33,32 +22,3 @@ Index: node-livescript/Makefile
  	rm -rf coverage
 -	rm -f package.json
 +#	rm -f package.json
-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'),
-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