gallery/make-pages/make-pages.cabal

55 lines
1.3 KiB
Plaintext

cabal-version: 2.2
name: make-pages
version: 0.1.0
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
other-modules:
Records,
BuildVar,
Info,
SinglePage,
Depend
default-language: Haskell2010
default-extensions:
BlockArguments,
DataKinds,
DeriveAnyClass,
DerivingStrategies,
DuplicateRecordFields,
FlexibleInstances,
LambdaCase,
NamedFieldPuns,
OverloadedLabels,
OverloadedStrings,
PatternSynonyms,
QuasiQuotes,
TypeSynonymInstances,
ViewPatterns
build-depends:
base >= 4.12.0.0 && < 4.15,
bytestring ^>= 0.10.8.2,
containers ^>= 0.6.0.1,
directory ^>= 1.3.6.0,
filepath ^>= 1.4.2.1,
HsYAML ^>= 0.2.1.0,
optparse-applicative ^>= 0.15.1.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