File: no-npm-install.patch

package info (click to toggle)
node-starttls 1.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 124 kB
  • sloc: javascript: 194; makefile: 6
file content (20 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Author: Thorsten Alteholz <debian@alteholz.de>
Description: we better use the Debian mocha
Index: node-starttls/Makefile
===================================================================
--- node-starttls.orig/Makefile	2015-02-25 02:55:48.000000000 +0100
+++ node-starttls/Makefile	2016-03-29 21:38:46.000000000 +0200
@@ -1,11 +1,7 @@
-test: lib/*.js node_modules
-	./node_modules/.bin/mocha \
+test: lib/*.js
+	mocha \
 		--reporter dot \
 		--check-leaks \
 		--ui tdd
 
-node_modules: package.json
-	npm install
-	touch $@
-
 .PHONY: test