[Pkg-javascript-commits] [node-chai] 03/06: Remove npm install
Sruthi Chandran
srud-guest at moszumanska.debian.org
Thu Nov 3 18:13: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-chai.
commit 140006adbb07d2d31d7595e817dfb4281a4df39e
Author: Sruthi <srud at disroot.org>
Date: Thu Nov 3 23:31:24 2016 +0530
Remove npm install
---
debian/patches/remove-npm-install.patch | 47 +++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 48 insertions(+)
diff --git a/debian/patches/remove-npm-install.patch b/debian/patches/remove-npm-install.patch
new file mode 100644
index 0000000..d806e88
--- /dev/null
+++ b/debian/patches/remove-npm-install.patch
@@ -0,0 +1,47 @@
+--- a/Makefile
++++ b/Makefile
+@@ -8,13 +8,13 @@
+
+ all: chai.js
+
+-chai.js: node_modules lib/*
+- @printf "==> [Browser :: build]\n"
+- @./node_modules/.bin/browserify \
+- --bare \
+- --outfile chai.js \
+- --standalone chai \
+- --entry index.js
++chai.js: lib/*
++# @printf "==> [Browser :: build]\n"
++# @./node_modules/.bin/browserify \
++# --bare \
++# --outfile chai.js \
++# --standalone chai \
++# --entry index.js
+
+ #
+ # Release Task
+@@ -40,18 +40,18 @@
+ # Node Module
+ #
+
+-node_modules: package.json
+- @npm install
++#node_modules: package.json
++# @npm install
+
+ #
+ # Tests
+ #
+
+-test: test-node test-phantom
++test: test-node
+
+-test-node: node_modules
++test-node:
+ @printf "==> [Test :: Node.js]\n"
+- @NODE_ENV=test ./node_modules/.bin/mocha \
++ @NODE_ENV=test mocha \
+ --require ./test/bootstrap \
+ --reporter $(REPORTER) \
+ $(TESTS)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..024cf65
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove-npm-install.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-chai.git
More information about the Pkg-javascript-commits
mailing list