-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.yaml
More file actions
145 lines (132 loc) · 2.75 KB
/
package.yaml
File metadata and controls
145 lines (132 loc) · 2.75 KB
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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
name: CyberSchoolSystem-Server
version: "1.1.5"
github: "CyberSchoolSystem/CyberSchoolSystem-Server"
license: MIT
author: "Fabian Geiselhart"
maintainer: ""
copyright: "2018 CyberSchoolSystem"
# Metadata used when publishing your package
synopsis: Voting system for the "Schule als Staat" project
category: Web
description: Please see the README on Github at <https://github.com/CyberSchoolSystem/CyberSchoolSystem-Server#readme>
extra-source-files:
- README.md
- ChangeLog.md
- templates
- static
flags:
noAuth:
description: Do not include the authentication system
default: False
manual: False
dev:
description: Use development settings
default: False
manual: False
extra-source-files:
- README.md
- ChangeLog.md
dependencies:
- base >= 4.7 && < 5
- aeson
- persistent
- persistent-mongoDB
- text
- time
- yesod
- yesod-auth
- yesod-core
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
flags:
noAuth:
description: Do not include the authentication system
default: False
manual: False
dev:
description: Use development settings
default: False
manual: False
when:
- condition: flag(dev)
then:
ghc-options:
- -O0
- -Wwarn
else:
ghc-options:
- -O2
- -Werror
library:
source-dirs: src
exposed-modules:
- Application
- Foundation
- Model
- Settings
when:
- condition: flag(noAuth)
cpp-options: -DNO_AUTH
- condition: flag(dev)
cpp-options: -DDEVELOPMENT
dependencies:
- blaze-html
- bytestring
- containers
- data-default
- data-default-class
- file-embed
- hjsmin
- hostname
- http-conduit
- http-types
- MissingH
- pandoc
- pandoc-types
- persistent-template
- shakespeare
- template-haskell
- text-show
- unordered-containers
- utf8-string
- wai
- yaml
- yesod-auth-hashdb
- xss-sanitize
- yesod-form
- yesod-persistent
- yesod-static
executables:
server:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- CyberSchoolSystem-Server
tests:
CyberSchoolSystem-Server-test:
main: Spec.hs
source-dirs: test
ghc-options:
# - -threaded
- -rtsopts
# - -with-rtsopts=-N
- -Wno-unused-top-binds
- -Wno-orphans
- -Wno-redundant-constraints
dependencies:
- CyberSchoolSystem-Server
- hspec
- mongoDB
- QuickCheck
- quickcheck-instances
- utf8-string
- wai-extra
- yesod-test