-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
73 lines (69 loc) · 1.5 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
name: parthenon
version: 0.2.1
synopsis: AWS Athena Parser
description:
A parser for AWS Athena schemas and terms.
category: Development
homepage: https://github.com/AntoineGagne/parthenon-hs
github: "AntoineGagne/parthenon-hs"
license: BSD3
author: "Antoine Gagné"
maintainer: "gagnantoine@gmail.com"
copyright: "Antoine Gagné"
extra-source-files:
- README.md
flags:
static:
description: Use static linking for the parthenon executable
default: true
manual: true
ghc-options:
- -Wall
- -Wcompat
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wredundant-constraints
- -optP-Wno-nonportable-include-path
- -flate-dmd-anal
dependencies:
- aeson
- base >= 4.8 && < 5
- containers
- optparse-applicative
- bytestring
- megaparsec >= 9.2
- parser-combinators
- text
default-extensions:
- ApplicativeDo
- OverloadedStrings
library:
source-dirs: src
generated-other-modules:
- Paths_parthenon
executables:
parthenon:
main: Main.hs
source-dirs: app
ghc-options: -O2 -threaded -rtsopts "-with-rtsopts=-N5 -A4m"
dependencies:
- parthenon
when:
# OS X does not support static build
# https://developer.apple.com/library/content/qa/qa1118
- condition: "flag(static) && !(os(osx))"
ld-options:
- -static
- -pthread
tests:
parthenon-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- parthenon
- hspec
- QuickCheck