blog/blog-meta/blog-meta.cabal
rhiannon morris be46a2fc5c fix tags with spaces
add a filter that replaces tags e.g.
"tag name" → {name: "tag name", slug: "tag_name"}
2022-09-17 20:54:16 +02:00

57 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,
OverloadedStrings,
OverloadedLists,
NondecreasingIndentation,
ViewPatterns
build-depends:
base >= 4.14.2.0 && < 4.17,
HsYAML ^>= 0.2.1.0,
bytestring ^>= 0.10.12.0,
containers ^>= 0.6.4.1,
filemanip,
filepath ^>= 1.4.2.1,
pandoc-types ^>= 1.22,
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