[libdevel-cover-perl] 04/32: Write cpancover-run to continually cover CPAN.

Axel Beckert abe at deuxchevaux.org
Sun Apr 26 22:26:35 UTC 2015


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

abe pushed a commit to annotated tag v1.18
in repository libdevel-cover-perl.

commit 833ebc6495e83aba744533039e20cf3cc2533c7a
Author: Paul Johnson <paul at pjcj.net>
Date:   Sat Sep 27 23:03:34 2014 +0100

    Write cpancover-run to continually cover CPAN.
---
 utils/dc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/utils/dc b/utils/dc
index 3cc9304..25dab8f 100755
--- a/utils/dc
+++ b/utils/dc
@@ -111,6 +111,15 @@ case "$1" in
         pigz < $json > $tmp && mv $tmp $json.gz
         echo Done
         ;;
+    "cpancover-run")
+        while true; do
+            echo Starting cpancover run at `date`
+            $0 cpancover-latest | $0 cpancover
+            $0 cpancover-generate-html
+            echo Finished cpancover run at `date`
+            sleep 600  # 10 minutes
+        done
+        ;;
     "cpancover-kill-docker")
         docker ps -a | tail -n +2 | awk '{ print $1 }' | xargs -r docker kill
         ;;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdevel-cover-perl.git



More information about the Pkg-perl-cvs-commits mailing list