~jojo/Carth

ref: db87ea9bdce9470b546bb3098f5d79a9b1023af1 Carth/package.yaml -rw-r--r-- 2.2 KiB
db87ea9bJoJo Disclaim WIP status in readme 1 year, 9 months ago
                                                                                
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
95
96
97
98
99
name:                carth
version:             0.0.2.0
git:                 https://gitlab.com/JoJoZ/carth
homepage:            https://carth.jo.zone
license:             AGPL-3
author:              "Johan Johansson"
maintainer:          "jo@jo.zone"
copyright:           "2019 Johan Johansson"

extra-source-files:
- README.org
- CHANGELOG.org

# Metadata used when publishing your package
# synopsis:            Short description of your package
# category:            Web

# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description:         Please see the README on GitLab at <https://gitlab.com/JoJoZ/carth#readme>

dependencies:
- base
- megaparsec
- either
- QuickCheck
- containers
- composition
- mtl
- lens
- llvm-hs-pure
- llvm-hs
- llvm-hs-pretty
- filepath
- directory
- bytestring
- utf8-string
- composition-extra
- prettyprinter
- process
- scientific

library:
  source-dirs: src
  ghc-options:
  - -Weverything
  - -Werror
  - -Wno-safe
  - -Wno-unsafe
  - -Wno-missing-import-lists
  - -Wno-missing-exported-signatures
  - -Wno-missing-local-signatures
  - -Wno-monomorphism-restriction
  - -Wno-implicit-prelude
  - -Wno-name-shadowing
  - -Wno-orphans
  - -Wno-missed-specialisations
  - -Wno-all-missed-specialisations
  - -Wno-unticked-promoted-constructors

executables:
  carth:
    main:                Main.hs
    source-dirs:         app
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    - -Weverything
    - -Werror
    - -Wno-safe
    - -Wno-unsafe
    - -Wno-missing-import-lists
    - -Wno-missing-exported-signatures
    - -Wno-missing-local-signatures
    - -Wno-monomorphism-restriction
    - -Wno-implicit-prelude
    - -Wno-name-shadowing
    - -Wno-orphans
    - -Wno-missed-specialisations
    - -Wno-all-missed-specialisations
    - -Wno-unticked-promoted-constructors
    dependencies:
    - carth

tests:
  carth-test:
    main:                Spec.hs
    source-dirs:         test
    ghc-options:
    - -threaded
    - -rtsopts
    - -with-rtsopts=-N
    dependencies:
    - carth
    - hspec
    - hspec-discover
    - megaparsec