[Pkg-javascript-commits] [node-expat] 367/371: Improve build: Invoke vows explicitly.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:36 UTC 2016


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

js pushed a commit to branch master
in repository node-expat.

commit a373ae0a2539ed2f206c7873c2bc10012ebaed22
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sun Feb 28 10:38:20 2016 +0100

    Improve build: Invoke vows explicitly.
---
 debian/rules | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 34bc2b7..86328e4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,7 +46,6 @@ CDBS_DEPENDS_$(pkg) = $(deps)
 DEB_INSTALL_DOCS_$(pkg) += README.markdown
 DEB_DH_INSTALL_ARGS_$(pkg) = package.json lib $(libdir)
 
-NODE = NODE_DISABLE_COLORS=1 nodejs
 configure/$(pkg):: debian/stamp-node-gyp-configure
 debian/stamp-node-gyp-configure:
 	node-gyp configure
@@ -56,7 +55,9 @@ debian/stamp-node-gyp-build:
 	V=1 $(foreach flag,CC CXX CFLAGS CXXFLAGS CPPFLAGS LDFLAGS,\
 		$(flag)="$($(flag))") \
 		node-gyp build
-	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),,$(NODE) test.js)
+	$(if $(filter nocheck,$(DEB_BUILD_OPTIONS)),\
+		,\
+		vows --spec --no-color ./test/**/*.js)
 	touch $@
 install/$(pkg)::
 	install -m 644 -D -t debian/$(cdbs_curpkg)$(libdir)/build/Release \

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



More information about the Pkg-javascript-commits mailing list