add readable verbose output
This commit is contained in:
parent
40ffd4f22c
commit
3586a5b447
2 changed files with 36 additions and 9 deletions
|
@ -6,6 +6,10 @@ license: AGPL-3.0-or-later
|
|||
author: Rhiannon Morris <rhi@rhiannon.website>
|
||||
maintainer: Rhiannon Morris <rhi@rhiannon.website>
|
||||
|
||||
flag pretty-verbose
|
||||
description: pretty-print the verbose output
|
||||
default: True
|
||||
|
||||
executable make-pages
|
||||
hs-source-dirs: .
|
||||
main-is: Main.hs
|
||||
|
@ -28,12 +32,17 @@ executable make-pages
|
|||
ViewPatterns
|
||||
build-depends:
|
||||
base >= 4.12.0.0 && < 4.15,
|
||||
containers ^>= 0.6.0.1,
|
||||
time >= 1.8.0.2 && < 1.10,
|
||||
bytestring ^>= 0.10.8.2,
|
||||
text ^>= 1.2.3.1,
|
||||
containers ^>= 0.6.0.1,
|
||||
directory ^>= 1.3.6.0,
|
||||
HsYAML ^>= 0.2.1.0,
|
||||
optparse-applicative ^>= 0.15.1.0,
|
||||
template-haskell ^>= 2.16.0.0
|
||||
template-haskell ^>= 2.16.0.0,
|
||||
text ^>= 1.2.3.1,
|
||||
time >= 1.8.0.2 && < 1.10
|
||||
ghc-options:
|
||||
-Wall -threaded -rtsopts -with-rtsopts=-N
|
||||
if flag(pretty-verbose)
|
||||
build-depends:
|
||||
pretty-show ^>= 1.10
|
||||
cpp-options: -DPRETTY_VERBOSE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue