-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
101 lines (91 loc) · 1.78 KB
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: "meadowstalk"
version: "2.0.0"
synopsis: "Blake Rain's Blog"
maintainer: "Blake Rain <[email protected]>"
license: "BSD3"
github: "HalfWayMan/meadowstalk"
category: "Web"
ghc-options: -Wall
flags:
library-only:
manual: true
default: false
dependencies:
- aeson
- base
- directory
- containers
- filepath
- monad-logger
- template-haskell
- transformers
- process
- blaze-html
- bytestring
- cheapskate
- data-default
- friendly-time
- pwstore-fast
- shakespeare
- text
- time
- esqueleto
- persistent
- persistent-postgresql
- persistent-template
- yesod-core
- yesod-form
- yesod-newsfeed
- yesod-persistent
- yesod-sitemap
- yesod-static
- wai
- wai-extra
library:
when:
condition: flag(library-only)
then:
ghc-options: -O0
cpp-options: -DYESOD_DEVEL
else:
ghc-options: -O2
source-dirs: src
exposed-modules:
- Meadowstalk.Application
other-modules:
- Meadowstalk.Controllers.Article
- Meadowstalk.Controllers.Tag
- Meadowstalk.Foundation
- Meadowstalk.Handlers.Public
- Meadowstalk.Model
- Meadowstalk.Model.Types
- Meadowstalk.Static
- Meadowstalk.Template
- Meadowstalk.Views
executables:
meadowstalk:
when:
condition: flag(library-only)
buildable: false
main: Main.hs
source-dirs: src
dependencies:
- meadowstalk
- warp
article-importer:
when:
condition: flag(library-only)
buildable: false
main: ArticleImporter.hs
source-dirs: src
dependencies:
- meadowstalk
- yaml
migrator:
when:
condition: flag(library-only)
buildable: false
main: Migrator.hs
source-dirs: src
dependencies:
- meadowstalk