Rework command dispatch
[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 - transformers
35 - utf8-string
36 - mtl
37 - errors
38
39 library:
40 source-dirs: src
41
42 executables:
43 xyz:
44 main: Main.hs
45 source-dirs: app
46 ghc-options:
47 - -threaded
48 - -rtsopts
49 - -with-rtsopts=-N
50 dependencies:
51 - xyz
52
53 default-extensions:
54 - OverloadedStrings
55 - TupleSections
56
57 tests:
58 xyz-test:
59 main: Spec.hs
60 source-dirs: test
61 ghc-options:
62 - -threaded
63 - -rtsopts
64 - -with-rtsopts=-N
65 dependencies:
66 - xyz