[Pkg-javascript-commits] [node-prelude-ls] 13/15: install only sinon via npm

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Wed Oct 12 10:29:19 UTC 2016


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

praveen pushed a commit to branch master
in repository node-prelude-ls.

commit 7cd63649ff0e96246fe2920975a86fd3a883e27e
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Oct 12 15:28:27 2016 +0530

    install only sinon via npm
---
 debian/patches/generate-package-json.patch |  2 +-
 debian/patches/install_node_modules.patch  | 24 ------------------------
 debian/patches/series                      |  1 -
 debian/rules                               |  1 +
 4 files changed, 2 insertions(+), 26 deletions(-)

diff --git a/debian/patches/generate-package-json.patch b/debian/patches/generate-package-json.patch
index 67eb423..61c06ed 100644
--- a/debian/patches/generate-package-json.patch
+++ b/debian/patches/generate-package-json.patch
@@ -8,6 +8,6 @@ Index: node-prelude-ls/Makefile
  
 -lib/%.js: src/%.ls lib
 +lib/%.js: src/%.ls lib package.json
- 	npm install
  	$(LSC) --output lib --bare --compile "$<"
  
+ browser:
diff --git a/debian/patches/install_node_modules.patch b/debian/patches/install_node_modules.patch
deleted file mode 100644
index 75b745d..0000000
--- a/debian/patches/install_node_modules.patch
+++ /dev/null
@@ -1,24 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -14,6 +14,7 @@
- 	mkdir -p lib/
- 
- lib/%.js: src/%.ls lib
-+	npm install
- 	$(LSC) --output lib --bare --compile "$<"
- 
- browser:
-@@ -49,8 +50,8 @@
- 	wc --lines src/*
- 
- clean:
--	rm -f ./*.js
--	rm -rf lib
--	rm -rf browser
--	rm -rf coverage
--	rm -f package.json
-+#	rm -f ./*.js
-+#	rm -rf lib
-+#	rm -rf browser
-+#	rm -rf coverage
-+#	rm -f package.json
diff --git a/debian/patches/series b/debian/patches/series
index 9385b88..03f4435 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
-install_node_modules.patch
 relax-browserify.patch
 use-system-libs.patch
 generate-package-json.patch
diff --git a/debian/rules b/debian/rules
index 23d5c4f..054307b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,7 @@
 	dh $@
 
 override_dh_auto_build:
+	npm install sinon
 	dh_auto_build
 
 #override_dh_auto_test:

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



More information about the Pkg-javascript-commits mailing list