-
Notifications
You must be signed in to change notification settings - Fork 0
/
ogma.cabal
84 lines (77 loc) · 2.52 KB
/
ogma.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
81
82
83
84
name: ogma
version: 0.0.0.0
synopsis: Ogma as a server
description: Ogma as a server
homepage: https://github.com/ogma-project/ogma#readme
license: AGPL-3
license-file: LICENSE
author: Thomas Letan
maintainer: [email protected]
copyright: 2017 Thomas Letan
category: Web
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
flag purs
description: "A tool to generate purescript scripts from the API specifications"
default: False
flag server
description: "The Ogma server"
default: False
library
hs-source-dirs: src
exposed-modules: Web.Ogma.Data
, Web.Ogma.Api
, Web.Ogma.Resource
, Web.Ogma.Graph
build-depends: base >= 4.7 && < 5
, servant >= 0.11 && < 0.12
, megaparsec >= 6.0 && < 6.2
, aeson >= 1.0 && < 1.2
, text >= 1.0 && < 1.3
, http-api-data >= 0.3 && < 0.4
, mtl >= 2.0 && < 2.3
default-language: Haskell2010
executable ogmad
hs-source-dirs: app/ogmad
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
if flag(server)
build-depends: base
, ogma
, ogmarkup >= 3.1 && < 4.0
buildable: True
else
buildable: False
executable og2purs
hs-source-dirs: app/og2purs
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
if flag(purs)
build-depends: base
, ogma
buildable: True
else
buildable: False
test-suite ogma-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: DataSpec
, GraphSpec
, Shared
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
build-depends: base
, ogma
, QuickCheck -any
, mtl -any
, hspec -any
, aeson -any
, text -any
, http-api-data -any
source-repository head
type: git
location: https://github.com/ogma-project/ogma