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,
|
|
|
|
OverloadedStrings,
|
|
|
|
OverloadedLists,
|
|
|
|
NondecreasingIndentation,
|
|
|
|
ViewPatterns
|
|
|
|
build-depends:
|
2022-03-29 22:37:32 -04:00
|
|
|
base >= 4.14.2.0 && < 4.17,
|
2021-07-23 21:35:02 -04:00
|
|
|
HsYAML ^>= 0.2.1.0,
|
|
|
|
bytestring ^>= 0.10.12.0,
|
|
|
|
containers ^>= 0.6.4.1,
|
|
|
|
filemanip,
|
2021-07-25 08:48:08 -04:00
|
|
|
filepath ^>= 1.4.2.1,
|
2021-07-23 21:35:02 -04:00
|
|
|
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
|
2022-09-17 14:54:16 -04:00
|
|
|
|
|
|
|
executable slug-tags
|
|
|
|
import: deps, exe
|
|
|
|
hs-source-dirs: .
|
|
|
|
main-is: slug-tags.hs
|