-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
124 lines (117 loc) · 2.11 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
name: salon
version: "0.0.0"
synopsis: Beauty Salon Web Application
category: Application
author: Sergiu Starciuc
maintainer: [email protected]
license: MIT
github: ciukstar/salon
homepage: https://salon-w3cpovaqka-de.a.run.app/resources/docs
dependencies:
- base
- yesod
- yesod-core
- yesod-auth
- yesod-static
- yesod-form
- yesod-persistent
- yesod-sitemap
- classy-prelude
- classy-prelude-conduit
- classy-prelude-yesod
- bytestring
- text
- 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-hashdb
- esqueleto
- listsafe
- base64-bytestring
- transformers
- blaze-html
- persistent
- lens
- lens-aeson
- wreq
- mime-mail
- http-client
- safe-exceptions
- HPDF
- yesod-auth-oauth2
# 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:
salon:
main: main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- salon
when:
- condition: flag(library-only)
buildable: false
# Test suite
tests:
salon-test:
main: Spec.hs
source-dirs: test
ghc-options: -Wall
dependencies:
- salon
- 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