[Pkg-javascript-commits] [node-jsonminify] 04/11: override Makefile, enable build-time tests and autopkgtests, install provided HTML docs

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed Dec 21 11:36:09 UTC 2016


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

paolog-guest pushed a commit to branch master
in repository node-jsonminify.

commit 811736a2e177fbd8525f3f7c0e0f081ecc8f52ce
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed Dec 21 11:12:06 2016 +0000

    override Makefile, enable build-time tests and autopkgtests, install provided HTML docs
---
 debian/docs          | 1 +
 debian/rules         | 8 +++-----
 debian/tests/control | 3 +++
 3 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/docs b/debian/docs
index b43bf86..1538d74 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1,2 @@
 README.md
+docs/*
diff --git a/debian/rules b/debian/rules
index de57af0..26514e9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,7 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
+override_dh_auto_build:
 
+override_dh_auto_test:
+	mocha -r should test/test-*.js
diff --git a/debian/tests/control b/debian/tests/control
index 7a9944d..436360a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-jsonminify
+
+Test-Command: mocha -r should test/test-*.js
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list