-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlily.cabal
60 lines (53 loc) · 2.17 KB
/
lily.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
cabal-version: 2.4
name: lily
version: 0.1.0.0
synopsis: C++ linter based on linear types
description: C++ linter based on linear types
license: NONE
author: Jiří Beneš
maintainer: Jiří Beneš <[email protected]
build-type: Simple
extra-source-files: CHANGELOG.md
tested-with: GHC == 8.8.3
GHC == 8.10.1
source-repository head
type: git
location: https://github.com/jiribenes/lily.git
common common-options
build-depends: base >= 4.13 && < 5, clang-pure >= 0.2.1.1, lens, containers, unordered-containers, bytestring, mtl, transformers, text, prettyprinter, optparse-applicative, directory
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
default-language: Haskell2010
library
import: common-options
hs-source-dirs: src
exposed-modules: Lily, Options
other-modules: Control.Monad.Fresh,
Control.Lens.NonEmpty,
Clang, Clang.AST, Clang.Function, Clang.OpParser, Clang.Type, Clang.Struct, Clang.MemberParser,
Type.Infer, Type.Solve, Type.Unify, Type.Assumption, Type.Type, Type.Simplify, Type.Constraint, Type.Fresh, Type.Class,
Error,
Core.Elaboration, Core.Syntax, Core.Located,
Name,
Lint,
Debug.Trace.Pretty
executable lily
import: common-options
hs-source-dirs: app
main-is: Main.hs
build-depends: lily
ghc-options: -threaded
-rtsopts
-with-rtsopts=-N