blog/blog-meta/blog-meta.cabal

60 lines
1.1 KiB
Text

cabal-version: 2.2
name: blog-meta
version: 0.1
author: rhiannon morris <rhi@rhiannon.website>
maintainer: rhiannon morris <rhi@rhiannon.website>
common deps
default-language: Haskell2010
default-extensions:
BlockArguments,
DuplicateRecordFields,
OverloadedStrings,
OverloadedLists,
NamedFieldPuns,
NondecreasingIndentation,
RecordWildCards,
ViewPatterns
build-depends:
base >= 4.14.2.0 && < 4.18,
HsYAML ^>= 0.2.1.0,
bytestring ^>= 0.11.4.0,
containers ^>= 0.6.4.1,
filemanip,
filepath ^>= 1.4.2.1,
pandoc-types ^>= 1.23,
text ^>= 1.2.4.1,
time ^>= 1.9.3
ghc-options: -Wall
common exe
build-depends: blog-meta
ghc-options: -threaded -rtsopts -with-rtsopts=-N
library
import: deps
hs-source-dirs: lib
exposed-modules:
YAML,
Misc
executable post-lists
import: deps, exe
hs-source-dirs: .
main-is: post-lists.hs
executable all-tags
import: deps, exe
hs-source-dirs: .
main-is: all-tags.hs
executable nice-date
import: deps, exe
hs-source-dirs: .
main-is: nice-date.hs
executable slug-tags
import: deps, exe
hs-source-dirs: .
main-is: slug-tags.hs