gallery/make-pages/make-pages.cabal

66 lines
1.6 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,
Records,
Date,
Info,
Depend,
NsfwWarning,
GalleryPage,
IndexPage,
SinglePage,
RSS,
ListTags,
Options
default-language: GHC2024
default-extensions:
BlockArguments,
DeriveAnyClass,
DerivingVia,
DuplicateRecordFields,
OverloadedLabels,
OverloadedLists,
OverloadedStrings,
QuasiQuotes,
TypeSynonymInstances,
ViewPatterns
other-extensions:
PatternSynonyms,
CPP,
ImplicitParams,
TemplateHaskell
build-depends:
base >= 4.16.4 && < 4.21,
bytestring >= 0.11.3.1 && < 0.14,
containers >= 0.6.0.1 && < 0.8,
filemanip ^>= 0.3.6.3,
filepath >= 1.4.2.1 && < 1.6,
hashable >= 1.3.0.0 && < 1.5,
HsYAML ^>= 0.2.1.0,
optparse-applicative ^>= 0.15.1.0,
process ^>= 1.6.8.2,
template-haskell >= 2.18.0.0 && < 2.23,
text >= 1.2.3.1 && < 2.2,
time >= 1.8.0.2 && < 1.13,
unordered-containers ^>= 0.2.11.0
ghc-options:
-Wall -threaded -rtsopts -with-rtsopts=-N -O
if flag(pretty-verbose)
build-depends:
pretty ^>= 1.1.3.6,
pretty-show ^>= 1.10
cpp-options: -DPRETTY_VERBOSE