blog/blog-meta/blog-meta.cabal

61 lines
1.1 KiB
Text
Raw Normal View History

2021-07-23 21:35:02 -04:00
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,
2024-09-16 13:45:50 -04:00
DuplicateRecordFields,
2021-07-23 21:35:02 -04:00
OverloadedStrings,
OverloadedLists,
2024-09-16 13:45:50 -04:00
NamedFieldPuns,
2021-07-23 21:35:02 -04:00
NondecreasingIndentation,
2024-09-16 11:02:09 -04:00
RecordWildCards,
2021-07-23 21:35:02 -04:00
ViewPatterns
build-depends:
2023-06-05 11:48:09 -04:00
base >= 4.14.2.0 && < 4.18,
2021-07-23 21:35:02 -04:00
HsYAML ^>= 0.2.1.0,
2023-06-05 11:48:09 -04:00
bytestring ^>= 0.11.4.0,
2021-07-23 21:35:02 -04:00
containers ^>= 0.6.4.1,
filemanip,
2021-07-25 08:48:08 -04:00
filepath ^>= 1.4.2.1,
2023-06-05 11:48:09 -04:00
pandoc-types ^>= 1.23,
2021-07-23 21:35:02 -04:00
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