Use Either for config errors instead of Maybe
[xyz.git] / package.yaml
1 name: xyz
2 version: 0.1.0.0
3 license: GPL-3
4 author: "Cameron Ball"
5 maintainer: "cameron@cameron1729.xyz"
6 copyright: "2019 Cameron Ball"
7
8 extra-source-files:
9 - README
10
11 # Metadata used when publishing your package
12 # synopsis: Very basic static site generator; initially written to help manage cameron1729.xyz/blog
13 # category: Web
14
15 # To avoid duplicated efforts in documentation and dealing with the
16 # complications of embedding Haddock markup inside cabal files, it is
17 # common to point users to the README.md file.
18 description: Please see the README at <http://git.cameron1729.xyz/?p=xyz.git;a=summary>
19
20 dependencies:
21 - base >= 4.7 && < 5
22 - text
23 - split
24 - directory
25 - time
26 - filepath
27 - template
28 - json
29 - filesystem-trees
30 - process
31 - aeson
32 - bytestring
33 - tuple
34
35 library:
36 source-dirs: src
37
38 executables:
39 xyz:
40 main: Main.hs
41 source-dirs: app
42 ghc-options:
43 - -threaded
44 - -rtsopts
45 - -with-rtsopts=-N
46 dependencies:
47 - xyz
48
49 default-extensions:
50 - OverloadedStrings
51 - TupleSections
52
53 tests:
54 xyz-test:
55 main: Spec.hs
56 source-dirs: test
57 ghc-options:
58 - -threaded
59 - -rtsopts
60 - -with-rtsopts=-N
61 dependencies:
62 - xyz