[Pkg-javascript-commits] [node-component-emitter] 06/07: Add patch to use system mocha

Sruthi Chandran srud-guest at moszumanska.debian.org
Mon Oct 17 15:48:05 UTC 2016


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

srud-guest pushed a commit to branch master
in repository node-component-emitter.

commit 73bf5a102afe1a5f7a1136fcab8c45b9e6f9b42b
Author: Sruthi <srud at disroot.org>
Date:   Mon Oct 17 21:09:58 2016 +0530

    Add patch to use system mocha
---
 debian/patches/series                |  1 +
 debian/patches/use-system-libs.patch | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..af72458
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use-system-libs.patch
diff --git a/debian/patches/use-system-libs.patch b/debian/patches/use-system-libs.patch
new file mode 100644
index 0000000..2be231d
--- /dev/null
+++ b/debian/patches/use-system-libs.patch
@@ -0,0 +1,13 @@
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,7 @@
+ 
+ test:
+-	@./node_modules/.bin/mocha \
++	@mocha \
+ 		--require should \
+ 		--reporter spec
+ 
+-.PHONY: test
+\ No newline at end of file
++.PHONY: test

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



More information about the Pkg-javascript-commits mailing list