summaryrefslogtreecommitdiff
path: root/package.yaml
blob: ced62e0f7ceb54b9f0ebb0c5c3db355da7d241ed (plain) (blame)
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
name: fiddle
version: 0.5

executables:
  fiddlec:
    main: Main.hs
    dependencies:
      - fiddle

    
library:
  source-dirs: src
  exposed-modules:
    - Language.Fiddle.Ast
    - Language.Fiddle.Compiler
    - Language.Fiddle.Types
    - Language.Fiddle.Compiler.Backend
    - Language.Fiddle.Compiler.Backend.C
    - Language.Fiddle.Compiler.ConsistencyCheck
    - Language.Fiddle.Compiler.Expansion
    - Language.Fiddle.Compiler.ImportResolution
    - Language.Fiddle.Compiler.Qualification
    - Language.Fiddle.Compiler.Stage0
    - Language.Fiddle.GenericTree

tests:
  fiddle-test:
    main: Spec.hs
    source-dirs: test
    dependencies:
      - fiddle

ghc-options:
  - -Wall
  - -fno-warn-orphans
  - -fno-warn-name-shadowing
  - -fno-warn-missing-local-signatures
  - -XBangPatterns
  - -XConstraintKinds
  - -XDataKinds
  - -XDefaultSignatures
  - -XDeriveAnyClass
  - -XDeriveFunctor
  - -XDeriveGeneric
  - -XFlexibleContexts
  - -XFlexibleInstances
  - -XGADTs
  - -XIncoherentInstances
  - -XKindSignatures
  - -XLambdaCase
  - -XMultiParamTypeClasses
  - -XPolyKinds
  - -XRankNTypes
  - -XScopedTypeVariables
  - -XStandaloneDeriving
  - -XStrictData
  - -XTupleSections
  - -XTypeFamilies
  - -XTypeOperators
  - -XUndecidableInstances
  - -XViewPatterns
  - -O2

dependencies:
  - base >= 4.0.0
  - parsec
  - text
  - mtl
  - aeson
  - vector
  - bytestring
  - data-default
  - transformers
  - containers
  - optparse-applicative
  - directory
  - filepath
  - hspec
  - zlib
  - process
  - monad-loops