-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshields.cabal
80 lines (67 loc) · 1.95 KB
/
shields.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
name: shields
version: 1.0.0
synopsis: Shields.io endpoint for the Haskell Foundation.
description: Stable endpoint for the best shields in Haskell town.
homepage: https://github.com/haskellfoundation/shields
license: Apache-2.0
license-file: LICENSE.md
author: Koz Ross
maintainer: [email protected]
bug-reports: https://github.com/haskellfoundation/shields/issues
copyright: (C) The Haskell Foundation 2021
category: Data
tested-with: GHC ==8.10.4
build-type: Simple
extra-source-files:
CHANGELOG.md
README.md
-- Common section
common lang
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
default-language: Haskell2010
-- Library
library shields-lib
import: lang
exposed-modules:
Shields.Api
Shields.Response
build-depends:
, base ==4.14.1.0
, binary ^>=0.8.8.0
, bytebuild ^>=0.3.7.0
, io-streams ^>=1.5.2.1
, json-syntax ^>=0.2.0.0
, scientific-notation ^>=0.1.3.0
, snap-core ^>=1.0.4.2
, text-short ^>=0.1.3
hs-source-dirs: src
-- Executable
executable shields
import: lang
main-is: Main.hs
build-depends:
, base
, shields-lib
, snap-server ^>=1.1.2.0
ghc-options: -O2 -threaded -with-rtsopts=-N
hs-source-dirs: app
-- Tests
test-suite tests
import: lang
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, base
, byteslice ^>=0.2.5.2
, case-insensitive ^>=1.2.1.0
, json-syntax
, scientific-notation
, shields-lib
, snap-core
, tasty ^>=1.4.1
, tasty-hunit ^>=0.10.0.3
ghc-options: -O2 -threaded -with-rtsopts=-N
hs-source-dirs: test