-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yaml
79 lines (75 loc) · 1.63 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
name: ocaml-export
version: 0.14.0
synopsis: Convert Haskell types in OCaml types
description: Use GHC.Generics and Typeable to convert Haskell types to OCaml types. Convert aeson serialization to ocaml.
category: Web
author: James M.C. Haver II
maintainer: [email protected]
copyright: 2017 Plow Technologies
license: BSD3
github: plow-technologies/ocaml-export
dependencies:
- base >= 4.10 && < 5
- aeson
- bytestring
- containers
- directory
- filepath
- hspec
- hspec-golden-aeson >= 0.4.0.0
- QuickCheck
- quickcheck-arbitrary-adt
- servant
- servant-server
- singletons
- text
- template-haskell
- time
ghc-options:
- -Wall
- -Werror
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
library:
source-dirs: src
exposed-modules:
- OCaml.Export
- OCaml.BuckleScript.Decode
- OCaml.BuckleScript.Encode
- OCaml.BuckleScript.Record
- OCaml.BuckleScript.Spec
- OCaml.BuckleScript.Types
# Internal packages
- OCaml.Internal.Common
- OCaml.BuckleScript.Internal.Spec
- OCaml.BuckleScript.Internal.Module
- OCaml.BuckleScript.Internal.Package
dependencies:
- file-embed
- formatting
- mtl
- split
- wl-pprint-text
ghc-options:
- -Wredundant-constraints
- -fprint-potential-instances
tests:
spec:
main: Spec.hs
source-dirs: test
dependencies:
- ocaml-export
- process
- wai
- wai-extra
- warp
when:
- condition: flag(servant-spec)
cpp-options: -DSERVANT_SPEC
flags:
servant-spec:
description: Test ocaml-export against a servant server. Internal test use only.
manual: True
default: False