-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
executable file
·112 lines (105 loc) · 2.64 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
name: princesa
version: 0.1.0.0
github: "githubuser/princesa"
license: BSD3
author: "Franco Testagrossa"
maintainer: "[email protected]"
copyright: "2020 Franco Testagrossa here"
extra-source-files:
- README.md
- ChangeLog.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/githubuser/princesa#readme>
dependencies:
- base >= 4.7 && < 5
# json serializer
- aeson
# http server
- servant
- servant-server
- wai
- warp
# repository
- persistent
- persistent-postgresql
- persistent-template
# logger
- monad-logger
- fast-logger
- katip
- wai-extra
# reader-t
- mtl
# bytestring
- bytestring
# safe
- safe
# text
- text
# cli
- optparse-generic
library:
source-dirs: src
exposed-modules:
Lib
Application.Mode
Application.Cli.Cli
Application.Cli.CliT
Application.App
Application.Provider
Infrastructure.Http.Api
Infrastructure.Persistence.DBRuntime
Infrastructure.Persistence.PoolProvider
Infrastructure.Environment
Infrastructure.Config
Infrastructure.Logger
Infrastructure.System
Infrastructure.Types
other-modules:
Modules.Candidates.Domain.Entity
Modules.Candidates.Domain.Service
Modules.Candidates.Domain.Repository
Modules.Candidates.Infrastructure.Http.Api
Modules.Candidates.Infrastructure.Http.Handler
Modules.Candidates.Infrastructure.Persistence.Db
Modules.Candidates.Infrastructure.Persistence.Models
Modules.Candidates.Infrastructure.Json.Marshaller
Modules.Jobs.Domain.Entity
Modules.Jobs.Domain.Service
Modules.Jobs.Domain.Repository
Modules.Jobs.Infrastructure.Http.Api
Modules.Jobs.Infrastructure.Http.Handler
Modules.Jobs.Infrastructure.Persistence.Db
Modules.Jobs.Infrastructure.Persistence.Models
Modules.Jobs.Infrastructure.Json.Marshaller
executables:
princesa-exe:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- base
- princesa
tests:
princesa-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- base
- princesa
- hspec
- hspec-wai
- hspec-wai-json
- aeson