summaryrefslogtreecommitdiff
path: root/package.yaml
blob: 6ff413ca8c40b5295e238018565825f08b8fef95 (plain)
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
name:                bookkeeper
version:             0.2.5
synopsis:            Anonymous records and overloaded labels
description:         Please see README.md for more information and examples.
homepage:            http://github.com/turingjump/bookkeeper#readme
license:             BSD3
license-file:        LICENSE
author:              Julian K. Arni
maintainer:          jkarni@gmail.com
copyright:           (c) Julian K. Arni
github:              turingjump/bookkeeper
tested-with:         GHC == 8.0.1, GHC == 8.2.1
category:            Data Structures, Records
extra-source-files:
  - CHANGELOG.md
  - README.md
  - package.yaml

ghc-options: -Wall

dependencies:
  - base >= 4.9 && < 4.11
  - type-level-sets
  - data-default-class


library:
  source-dirs:      src
  other-modules:    []
  default-extensions: &allExts
    - AutoDeriveTypeable
    - ConstraintKinds
    - DataKinds
    - DefaultSignatures
    - DeriveFunctor
    - DeriveGeneric
    - DeriveFoldable
    - DeriveTraversable
    - FlexibleContexts
    - FlexibleInstances
    - FunctionalDependencies
    - GADTs
    - MultiParamTypeClasses
    - KindSignatures
    - TypeInType
    - OverloadedStrings
    - RankNTypes
    - ScopedTypeVariables
    - TypeApplications
    - TypeFamilies
    - TypeOperators
    - OverloadedLabels
    - MagicHash

tests:
  spec:
    main:            Spec.hs
    source-dirs:     test
    default-extensions: *allExts
    dependencies:
      - bookkeeper
      - hspec > 2 && < 3
      - QuickCheck >= 2.8 && < 2.11
  doctest:
    main:            Doctest.hs
    source-dirs:     doctest
    default-extensions: *allExts
    dependencies:
      - doctest >= 0.9 && < 0.12
      - Glob >= 0.7 && < 0.9
      - yaml == 0.8.*

benchmarks:
  bench:
    main:            Main.hs
    source-dirs:     bench
    default-extensions: *allExts
    dependencies:
      - bookkeeper
      - criterion
    ghc-options:     -Wall


executables:
  readme:
    main:                Readme.lhs
    ghc-options:         -pgmL markdown-unlit -fno-warn-unused-top-binds
    source-dirs:         exec
    default-extensions:  []
    other-modules:       []
    dependencies:
      - base >=4.9 && < 4.11
      - bookkeeper
      - markdown-unlit