[Pkg-javascript-commits] [node-union-value] 03/03: make lintian happy, enable tests

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Fri Oct 28 08:10:45 UTC 2016


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

praveen pushed a commit to branch master
in repository node-union-value.

commit d3366d49dcb5051e0269dcc86e9500ef69f43725
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Fri Oct 28 13:20:12 2016 +0530

    make lintian happy, enable tests
---
 debian/changelog     |  6 +++---
 debian/control       | 10 ++++++++--
 debian/rules         | 11 ++---------
 debian/tests/control |  3 +++
 4 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index b453d19..b5a76fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,5 @@
-node-union-value (0.2.3-1) UNRELEASED; urgency=low
+node-union-value (0.2.3-1) unstable; urgency=low
 
-  * Initial release (Closes: #nnnn)
+  * Initial release (Closes: #842328)
 
- -- Pirate Praveen <praveen at debian.org>  Fri, 28 Oct 2016 12:37:03 +0530
+ -- Pirate Praveen <praveen at debian.org>  Fri, 28 Oct 2016 12:39:11 +0530
diff --git a/debian/control b/debian/control
index d0b1a18..5070303 100644
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,12 @@ Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
  , nodejs
+ , mocha
+ , node-should
+ , node-set-value (>= 0.3.3~)
+ , node-is-extendable (>= 0.1.1~)
+ , node-arr-union (>= 3.0.0~)
+ , node-get-value (>= 2.0.2~)
 Standards-Version: 3.9.8
 Homepage: https://github.com/jonschlinkert/union-value
 Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-union-value.git
@@ -22,7 +28,7 @@ Depends:
  , node-arr-union (>= 3.0.0~)
  , node-get-value (>= 2.0.2~)
 Description: set an array of unique values as the property of an object
- This library supports setting deeply nested properties using using
- object-paths/dot notation.
+ This library supports setting deeply nested properties using object-paths/dot
+ notation.
  .
  Node.js is an event-based server-side JavaScript engine.
diff --git a/debian/rules b/debian/rules
index de57af0..6087038 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,15 +1,8 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
-
+override_dh_auto_test:
+	mocha -R spec
diff --git a/debian/tests/control b/debian/tests/control
index b14180b..bcb1269 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -1,2 +1,5 @@
 Tests: require
 Depends: node-union-value
+
+Test-Command: mocha -R spec
+Depends: @, @builddeps@

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



More information about the Pkg-javascript-commits mailing list