[Pkg-javascript-commits] [node-livescript] 04/06: use nodejs command

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Oct 12 10:34:44 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 302438b9d6a7d008af84b98031243684f9172b30
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Oct 11 20:02:12 2016 +0530

    use nodejs command
---
 debian/patches/series           |  1 +
 debian/patches/use_nodejs.patch | 49 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 50 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..318e3a7
--- /dev/null
+++ b/debian/patches/use_nodejs.patch
@@ -0,0 +1,49 @@
+--- a/Makefile
++++ b/Makefile
+@@ -43,7 +43,7 @@
+ 	make force && make force && make test && make coverage
+ 
+ install: build
+-	npm install -g .
++	npm install .
+ 
+ dev-install: package.json
+ 	npm install .
+@@ -52,7 +52,7 @@
+ 	./scripts/test
+ 
+ test-harmony: build
+-	node --harmony ./scripts/test
++	nodejs --harmony ./scripts/test
+ 
+ coverage: build
+ 	$(ISTANBUL) cover ./scripts/test
+@@ -61,8 +61,8 @@
+ 	wc --lines src/*
+ 
+ clean:
+-	rm -f ./*.js
+-	rm -rf lib
+-	rm -rf browser/*.js
++#	rm -f ./*.js
++#	rm -rf lib
++#	rm -rf browser/*.js
+ 	rm -rf coverage
+-	rm -f package.json
++#	rm -f package.json
+--- a/bin/lsc
++++ b/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
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env node
++#!/usr/bin/env nodejs
+ 
+ (function() {
+   var fs = require("fs");

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