[DHG_packages] 02/02: make-all: Support --keep-going

Joachim Breitner nomeata at moszumanska.debian.org
Tue Aug 11 13:55:35 UTC 2015


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

nomeata pushed a commit to branch master
in repository DHG_packages.

commit 287f6a5ae9933cc0f95ec6d03280ebfcd3ac5ca8
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Tue Aug 11 15:54:44 2015 +0200

    make-all: Support --keep-going
---
 src/make-all.hs | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/make-all.hs b/src/make-all.hs
index efc2170..66db285 100644
--- a/src/make-all.hs
+++ b/src/make-all.hs
@@ -33,6 +33,7 @@ data Conf = Conf
     , jobs :: Int
     , schrootName :: String
     , shakeVerbosity' :: Verbosity
+    , keepGoing :: Bool
     , targets :: [String]
     }
 
@@ -83,6 +84,11 @@ confSpec = Conf
     showDefault <>
     value Normal
     )
+ <*> switch  (
+    long "keep-going" <>
+    help "keep going even if there are errors" <>
+    showDefault
+    )
   <*> O.many (argument str (metavar "TARGET..."))
 
 parseCommaOrSpace:: ReadM [String]
@@ -225,6 +231,7 @@ makeShakeOptions Conf{..} = shakeOptions
     , shakeThreads = jobs
     , shakeVerbosity = shakeVerbosity'
     , shakeChange = ChangeModtimeAndDigestInput
+    , shakeStaunch = keepGoing
     }
 
 shakeMain conf@(Conf {..}) = do

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list