[Pkg-javascript-commits] [node-debug] 01/01: Do not invoke npm install during build

Paolo Greppi paolog-guest at moszumanska.debian.org
Fri Nov 3 09:04:23 UTC 2017


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

paolog-guest pushed a commit to branch master
in repository node-debug.

commit dddb7a2fe35a12365041e5742904c7de60a816e0
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Fri Nov 3 10:04:18 2017 +0100

    Do not invoke npm install during build
---
 debian/patches/00-makefile.diff | 17 +++++++++++++++++
 debian/patches/series           |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/00-makefile.diff b/debian/patches/00-makefile.diff
new file mode 100644
index 0000000..842a3bf
--- /dev/null
+++ b/debian/patches/00-makefile.diff
@@ -0,0 +1,17 @@
+Description: Do not invoke npm install during build.
+Forwarded: not-needed
+Author: Paolo Greppi <paolo.greppi at libpf.com>
+
+Index: node-debug/Makefile
+===================================================================
+--- node-debug.orig/Makefile
++++ node-debug/Makefile
+@@ -20,8 +20,6 @@ install: node_modules
+ browser: dist/debug.js
+ 
+ node_modules: package.json
+-	@NODE_ENV= $(PKG) install
+-	@touch node_modules
+ 
+ dist/debug.js: src/*.js node_modules
+ 	@mkdir -p dist
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..803adc9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+00-makefile.diff

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



More information about the Pkg-javascript-commits mailing list