-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhello.cabal
80 lines (74 loc) · 2.35 KB
/
hello.cabal
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
cabal-version: 3.0
-- Initial package description 'hello.cabal' generated by 'cabal init'.
-- For further documentation, see http://haskell.org/cabal/users-guide/
name: hello
version: 0.1.0.0
-- synopsis:
-- description:
-- bug-reports:
-- license:
license-file: LICENSE
author: jeovazero
-- maintainer:
-- copyright:
-- category:
build-type: Simple
extra-source-files: CHANGELOG.md
--
common deps
build-depends: base
, aeson
, uuid
, containers
, http-types
, vault
, bytestring
, text
default-language: Haskell2010
library
import: deps
hs-source-dirs: src
exposed-modules: App
, App.Register
, Lib.Persistence
, Lib.Persistence.User
, Lib.Layer.REST
, Lib.Layer.REST.JWT
, Lib.Exception
, Lib.Domain.User
, Lib.Data.User
, Lib.Database
other-modules: App.Auth
, Lib.Persistence.User.PGInstance
, Lib.Persistence.User.PGStatements
build-depends: jwt
, time
, postgresql-typed
, network
, wai
, word8
, password
ghc-options: -fwarn-incomplete-patterns -fwarn-incomplete-uni-patterns
executable hello
import: deps
main-is: Main.hs
build-depends: wai
, wai-extra
, warp
, hello
hs-source-dirs: app
default-language: Haskell2010
ghc-options: -fwarn-incomplete-patterns -fwarn-incomplete-uni-patterns -threaded -O2 -rtsopts
test-suite spec
import: deps
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
build-depends: wai
, wai-extra
, warp
, hello
, hspec
, hspec-wai
, hspec-wai-json
, word8