[Pkg-javascript-commits] [node-type-check] 04/13: use system libs

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Oct 12 18:01:17 UTC 2016


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

praveen pushed a commit to branch master
in repository node-type-check.

commit c8e0e304364aab2129e2a14ce56e9dbfc968eaea
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Tue Oct 11 17:27:07 2016 +0530

    use system libs
---
 debian/patches/fix-clean.patch       | 14 ++++++++++++++
 debian/patches/series                |  2 ++
 debian/patches/use-system-libs.patch | 16 ++++++++++++++++
 3 files changed, 32 insertions(+)

diff --git a/debian/patches/fix-clean.patch b/debian/patches/fix-clean.patch
new file mode 100644
index 0000000..6d26193
--- /dev/null
+++ b/debian/patches/fix-clean.patch
@@ -0,0 +1,14 @@
+--- a/Makefile
++++ b/Makefile
+@@ -46,7 +46,7 @@
+ 	wc -l $(SRC)
+ 
+ clean:
+-	rm -f package.json
+-	rm -rf lib
+-	rm -rf browser
+-	rm -rf coverage
++#	rm -f package.json
++#	rm -rf lib
++#	rm -rf browser
++#	rm -rf coverage
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..79e1918
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+use-system-libs.patch
+fix-clean.patch
diff --git a/debian/patches/use-system-libs.patch b/debian/patches/use-system-libs.patch
new file mode 100644
index 0000000..1e5a0d6
--- /dev/null
+++ b/debian/patches/use-system-libs.patch
@@ -0,0 +1,16 @@
+--- a/Makefile
++++ b/Makefile
+@@ -3,10 +3,10 @@
+ SRC = $(shell find src -name "*.ls" -type f | sort)
+ LIB = $(SRC:src/%.ls=lib/%.js)
+ 
+-LS = node_modules/livescript
+-LSC = node_modules/.bin/lsc
++LS = /usr/lib/nodejs/livescript
++LSC = /usr/bin/lsc
+ BROWSERIFY = node_modules/.bin/browserify
+-MOCHA = node_modules/.bin/mocha
++MOCHA = /usr/bin/mocha
+ MOCHA2 = node_modules/.bin/_mocha
+ ISTANBUL = node_modules/.bin/istanbul
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-type-check.git



More information about the Pkg-javascript-commits mailing list