[Pkg-javascript-commits] [node-strip-json-comments] 04/05: Run tests

Julien Puydt julien.puydt at laposte.net
Tue Jun 23 16:49:54 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository node-strip-json-comments.

commit 28ba2b50c7ab2f282374e1e2a64379ed9479c2d2
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Tue Jun 23 18:42:49 2015 +0200

    Run tests
---
 debian/control | 2 +-
 debian/rules   | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index ed93561..fbaf0f5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
 Priority: extra
 Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
 Uploaders: Julien Puydt <julien.puydt at laposte.net>
-Build-Depends: debhelper (>= 9), dh-buildinfo, nodejs
+Build-Depends: debhelper (>= 9), dh-buildinfo, mocha, nodejs
 Standards-Version: 3.9.6
 Homepage: https://github.com/sindresorhus/strip-json-comments
 Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-strip-json-comments.git
diff --git a/debian/rules b/debian/rules
index f5d94b5..a62e79e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,3 +10,5 @@ override_dh_install:
 	chmod +x cli.js
 	dh_install
 
+override_dh_auto_test:
+	mocha test.js

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



More information about the Pkg-javascript-commits mailing list