[Pkg-javascript-commits] [node-prelude-ls] 10/15: add livescript build dep

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 9d54558784c37c13e73b5a55c2da9daa26a38722
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Wed Oct 12 13:33:28 2016 +0530

    add livescript build dep
---
 debian/control                             |  1 +
 debian/patches/generate-package-json.patch | 13 +++++++++++++
 debian/patches/series                      |  1 +
 debian/rules                               |  2 --
 4 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 2c43f85..25f2221 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends:
  , dh-buildinfo
  , nodejs
  , mocha
+ , livescript
 Standards-Version: 3.9.8
 Homepage: http://preludels.com
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-prelude-ls.git
diff --git a/debian/patches/generate-package-json.patch b/debian/patches/generate-package-json.patch
new file mode 100644
index 0000000..67eb423
--- /dev/null
+++ b/debian/patches/generate-package-json.patch
@@ -0,0 +1,13 @@
+Index: node-prelude-ls/Makefile
+===================================================================
+--- node-prelude-ls.orig/Makefile
++++ node-prelude-ls/Makefile
+@@ -13,7 +13,7 @@ ISTANBUL = node_modules/.bin/istanbul
+ lib:
+ 	mkdir -p lib/
+ 
+-lib/%.js: src/%.ls lib
++lib/%.js: src/%.ls lib package.json
+ 	npm install
+ 	$(LSC) --output lib --bare --compile "$<"
+ 
diff --git a/debian/patches/series b/debian/patches/series
index a020f7b..9385b88 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 install_node_modules.patch
 relax-browserify.patch
 use-system-libs.patch
+generate-package-json.patch
diff --git a/debian/rules b/debian/rules
index f81f186..23d5c4f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,8 +8,6 @@
 	dh $@
 
 override_dh_auto_build:
-	npm install
-	sed -i 's/node/nodejs/' node_modules/.bin/lsc
 	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