[Pkg-javascript-commits] [node-log-driver] 05/15: Improve rules
Bastien Roucariès
rouca at moszumanska.debian.org
Wed Sep 6 09:49:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-log-driver.
commit c02b858ea30f91942de4333d4ed075d7ab8cd021
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date: Thu Aug 24 22:20:38 2017 +0200
Improve rules
---
debian/rules | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index de57af0..35279cc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,14 @@
%:
dh $@
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
-
+override_dh_auto_build:
+ $(info Upstream makefile not functional do nothing)
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
+ mocha test/*.js
+else
+ @echo '**********************************************************'
+ @echo 'Skip test suite '
+ @echo '**********************************************************'
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-log-driver.git
More information about the Pkg-javascript-commits
mailing list