-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.yaml
148 lines (148 loc) · 2.62 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
name: pi-base-server
version: '0.0.2'
homepage: http://github.com/pi-base/server
bug-reports: http://github.com/pi-base/server/issues
author: James Dabbs
maintainer: [email protected]
copyright: 2018 James Dabbs
license: MIT
github: pi-base/server
default-extensions:
- ConstraintKinds
- DeriveFoldable
- DeriveFunctor
- DeriveGeneric
- DeriveTraversable
- ExplicitForAll
- FlexibleContexts
- FlexibleInstances
- GeneralizedNewtypeDeriving
- LambdaCase
- NoImplicitPrelude
- OverloadedStrings
- RankNTypes
- RecordWildCards
- StandaloneDeriving
- TypeFamilies
dependencies:
- aeson
- bytestring
- containers
- exceptions
- gitlib
- gitlib-libgit2
- lens
- lens-aeson
- monad-logger
- persistent
- persistent-postgresql
- protolude
- text
- time
- transformers
- unliftio
- wai
library:
source-dirs:
- src
dependencies:
- base
- attoparsec
- aeson-pretty
- conduit
- cookie
- data-default
- deepseq
- directory
- either
- esqueleto
- fast-logger
- filepath
- gitrev
- graphql-api
- http-types
- monad-control
- mtl
- persistent-template
- scientific
- servant-server
- shelly
- tagged
- template-haskell
- unix
- unordered-containers
- uuid
- vault
- vector
- wai-cors
- wai-session
- warp
- wreq
- yaml
when:
- condition: (flag(dev)) || (flag(library-only))
then:
ghc-options:
- -Wall
- -fwarn-tabs
- -O0
cpp-options: -DDEVELOPMENT
else:
ghc-options:
- -Wall
- -fwarn-tabs
- -O2
executables:
pibase:
main: cli.hs
source-dirs:
- app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
- -O2
dependencies:
- base
- pi-base-server
- load-env
- optparse-applicative
- shelly
when:
- condition: flag(library-only)
buildable: false
tests:
test:
main: Spec.hs
source-dirs: test
ghc-options:
- -Wall
default-extensions:
- QuasiQuotes
dependencies:
- base
- pi-base-server
- ansi-terminal
- aeson-qq
- attoparsec
- case-insensitive
- fast-logger
- hspec
- hspec-core
- hspec-wai
- http-types
- QuickCheck
- tasty
- tasty-hspec
- template-haskell
- unordered-containers
- wai-extra
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