This repository has been archived by the owner on Apr 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
105 lines (101 loc) · 1.96 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
102
103
104
105
name: audiobook-podcast
version: "0.0.0"
dependencies:
- aeson
- base
- classy-prelude-conduit
- data-default
- filepath
- shakespeare
- warp
- template-haskell
- wai
- wai-extra
- monad-logger
- wai-logger
- fast-logger
- yesod-static
- yesod-core
- yesod
- beam-core
- beam-sqlite
- sqlite-simple
- text
- mime-types
- transformers
- directory
- zip
- natural-sort
- containers
- bytestring
- conduit
- conduit-extra
- binary
- exceptions
- temporary
- process
- http-types
- http-conduit
- yesod-newsfeed
- time
- scientific
- case-insensitive
- stm
- async
- mtl
- classy-prelude
- safe-exceptions
- process-extras
- attoparsec
- mono-traversable
- blaze-markup
- JuicyPixels
- unix
- extra
# The library contains all of our application code. The executable
# defined below is just a thin wrapper.
library:
source-dirs: src
default-extensions: NamedFieldPuns, OverloadedStrings, NoImplicitPrelude, LambdaCase, TupleSections
when:
- condition: (flag(dev)) || (flag(library-only))
then:
ghc-options:
- -Wall
- -fwarn-tabs
- -O0
cpp-options: -DDEVELOPMENT
else:
ghc-options:
- -Wall
- -fwarn-tabs
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -O2
# Runnable executable for our application
executables:
audiobook-podcast:
default-extensions: NamedFieldPuns, OverloadedStrings, NoImplicitPrelude, LambdaCase, TupleSections
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- audiobook-podcast
when:
- condition: flag(library-only)
buildable: false
# Define flags used by "yesod devel" to make compilation faster
flags:
library-only:
description: Build for use with "yesod devel"
manual: false
default: false
dev:
description: Turn on development settings, like auto-reload templates.
manual: false
default: false