[Pkg-javascript-commits] [node-grunt-contrib-copy] 04/05: enable build-time tests

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed Dec 21 07:05:28 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-grunt-contrib-copy.

commit 90d7ef39bb7ea728dd5c31d7b12f3603a69d3037
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed Dec 21 07:00:18 2016 +0000

    enable build-time tests
---
 debian/control |  4 ++++
 debian/rules   | 10 ++++++++--
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index e4499cd..2935404 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,10 @@ Uploaders: Paolo Greppi <paolo.greppi at libpf.com>
 Build-Depends:
  debhelper (>= 9)
  , dh-buildinfo
+ , node-file-sync-cmp (>= 0.1.0)
+ , node-chalk (>= 1.1.1)
+ , grunt
+ , nodeunit
  , nodejs
 Standards-Version: 3.9.8
 Homepage: https://github.com/gruntjs/grunt-contrib-copy#readme
diff --git a/debian/rules b/debian/rules
index de57af0..7931c4d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,13 @@
 
 #override_dh_auto_build:
 
-#override_dh_auto_test:
-
+override_dh_auto_test:
+	rm -rf tmp
+	mkdir -p tmp
+	grunt copy
+	nodeunit
 
+override_dh_clean:
+	dh_clean
+	rm -rf tmp
 

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



More information about the Pkg-javascript-commits mailing list