gallery/make-pages/make-pages.cabal

78 lines
1.8 KiB
Text

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:
BuilderQQ,
Depend,
GalleryPage,
Info,
IndexPage,
ListTags,
Options,
Records,
SinglePage,
RSS
default-language: Haskell2010
default-extensions:
BlockArguments,
ConstraintKinds,
DataKinds,
DeriveAnyClass,
DerivingStrategies,
DerivingVia,
DuplicateRecordFields,
FlexibleInstances,
GeneralizedNewtypeDeriving,
LambdaCase,
NamedFieldPuns,
OverloadedLabels,
OverloadedLists,
OverloadedStrings,
PatternSynonyms,
QuasiQuotes,
RankNTypes,
StandaloneDeriving,
TupleSections,
TypeSynonymInstances,
ViewPatterns
other-extensions:
CPP,
ImplicitParams,
MultiParamTypeClasses,
ScopedTypeVariables,
TemplateHaskell,
TransformListComp,
TypeApplications
build-depends:
base >= 4.12.0.0 && < 4.15,
bytestring ^>= 0.10.8.2,
containers ^>= 0.6.0.1,
filemanip ^>= 0.3.6.3,
filepath ^>= 1.4.2.1,
hashable ^>= 1.3.0.0,
HsYAML ^>= 0.2.1.0,
optparse-applicative ^>= 0.15.1.0,
process ^>= 1.6.8.2,
template-haskell ^>= 2.16.0.0,
text ^>= 1.2.3.1,
time >= 1.8.0.2 && < 1.10,
unordered-containers ^>= 0.2.11.0
ghc-options:
-Wall -threaded -rtsopts -with-rtsopts=-N
if flag(pretty-verbose)
build-depends:
pretty ^>= 1.1.3.6,
pretty-show ^>= 1.10
cpp-options: -DPRETTY_VERBOSE