[Pkg-javascript-commits] [node-cookie-signature] 06/07: Enable package tests

Jérémy Lal kapouer at moszumanska.debian.org
Sun Oct 12 08:03:07 UTC 2014


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

kapouer pushed a commit to branch master
in repository node-cookie-signature.

commit 1b314254a1bef91e4366589f8f2f3657dcb234a1
Author: Jérémy Lal <kapouer at melix.org>
Date:   Sun Oct 12 09:59:27 2014 +0200

    Enable package tests
---
 debian/control | 2 ++
 debian/rules   | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/debian/control b/debian/control
index 58d679b..9a2849f 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,8 @@ Build-Depends:
  debhelper (>= 8.0.0)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-should
 Standards-Version: 3.9.6
 Homepage: https://github.com/visionmedia/node-cookie-signature
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-cookie-signature.git
diff --git a/debian/rules b/debian/rules
index d1fde4f..b842053 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,7 @@
 	dh $@
 
 override_dh_auto_build:
+
 override_dh_auto_test:
+	mocha --require should --reporter spec
 

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



More information about the Pkg-javascript-commits mailing list