-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
128 lines (121 loc) · 2.22 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
name: videre
version: "0.1.1"
synopsis: Instant messaging, video chat, audio calls
category: Application
author: Sergiu Starciuc <[email protected]>
maintainer: Sergiu Starciuc <[email protected]>
license: MIT
github: ciukstar/videre
homepage: https://videre-2pg7fq7tgq-de.a.run.app/resources/docs
dependencies:
- base
- yesod
- yesod-core
- yesod-auth
- yesod-static
- yesod-form
- classy-prelude
- classy-prelude-conduit
- classy-prelude-yesod
- bytestring
- text
- persistent
- persistent-sqlite
- persistent-template
- template-haskell
- shakespeare
- hjsmin
- monad-control
- wai-extra
- yaml
- http-client-tls
- http-conduit
- directory
- warp
- data-default
- aeson
- conduit
- monad-logger
- fast-logger
- wai-logger
- file-embed
- safe
- unordered-containers
- containers
- vector
- time
- case-insensitive
- wai
- foreign-store
- yesod-auth-oauth2
- esqueleto
- mime-mail
- wreq
- lens
- base64-bytestring
- blaze-html
- lens-aeson
- email-validate
- yesod-persistent
- listsafe
- web-push
- safe-exceptions
- transformers
- stm
- yesod-websockets
- unliftio
- http-types
- yesod-sitemap
- http-client
# The library contains all of our application code. The executable
# defined below is just a thin wrapper.
library:
source-dirs: src
when:
- condition: (flag(dev)) || (flag(library-only))
then:
ghc-options:
- -Wall
- -fwarn-tabs
- -O0
cpp-options: -DDEVELOPMENT
else:
ghc-options:
- -Wall
- -fwarn-tabs
- -O2
# Runnable executable for our application
executables:
videre:
main: main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- videre
when:
- condition: flag(library-only)
buildable: false
# Test suite
tests:
videre-test:
main: Spec.hs
source-dirs: test
ghc-options: -Wall
dependencies:
- videre
- hspec >=2.0.0
- yesod-test
- microlens
# 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