gallery/make-pages/make-pages.cabal

63 lines
1.5 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,
Options
Records,
SinglePage,
RSS
default-language: Haskell2010
default-extensions:
BlockArguments,
ConstraintKinds,
DataKinds,
DeriveAnyClass,
DerivingStrategies,
DuplicateRecordFields,
FlexibleInstances,
LambdaCase,
NamedFieldPuns,
OverloadedLabels,
OverloadedStrings,
PatternSynonyms,
QuasiQuotes,
RankNTypes,
TupleSections,
TypeSynonymInstances,
ViewPatterns
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,
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,
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