forked from GitHub/gf-core
-s
This commit is contained in:
@@ -35,8 +35,9 @@ getAllFiles opts ps env file = do
|
||||
-- read module headers from all files recursively
|
||||
ds0 <- getImports ps file
|
||||
let ds = [((snd m,map fst ms),p) | ((m,ms),p) <- ds0]
|
||||
ioeIO $ putStrLn $ "all modules:" +++ show (map (fst . fst) ds)
|
||||
|
||||
if oElem beSilent opts
|
||||
then return ()
|
||||
else ioeIO $ putStrLn $ "all modules:" +++ show (map (fst . fst) ds)
|
||||
-- get a topological sorting of files: returns file names --- deletes paths
|
||||
ds1 <- ioeErr $ either
|
||||
return
|
||||
|
||||
@@ -208,7 +208,7 @@ putStrE = ioeIO . putStrFlush
|
||||
|
||||
putPointE :: Options -> String -> IOE a -> IOE a
|
||||
putPointE opts msg act = do
|
||||
let ve x = if oElem beVerbose opts then x else return ()
|
||||
let ve x = if oElem beSilent opts then return () else x
|
||||
ve $ ioeIO $ putStrFlush msg
|
||||
a <- act
|
||||
--- ve $ ioeIO $ putShow' id a --- replace by a statistics command
|
||||
|
||||
Reference in New Issue
Block a user