-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindigo.cabal
114 lines (107 loc) · 3.51 KB
/
indigo.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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
cabal-version: 3.0
name: indigo
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.1.0.0
license: GPL-3.0-only
license-file: LICENSE
author: rockofox
maintainer: [email protected]
build-type: Simple
data-files: **/*.in
data-dir: share
common warnings
-- ghc-options: -Wall -Wno-incomplete-uni-patterns -funfolding-use-threshold=16 -O2 -optc-O3
-- ghc-options: -Wall -Wno-incomplete-uni-patterns -O0 -fno-code
ghc-options: -Wall -Wno-incomplete-uni-patterns
flag ffi
description: FFI
default: True
library
import: warnings
exposed-modules: , Parser
, VM
, BytecodeCompiler
, AST
, Verifier
, Util
, RegInst
, Ffi
, Optimizer
other-modules: Paths_indigo
build-depends: base,
containers,
text,
megaparsec,
parser-combinators,
mtl,
-- binaryen,
directory,
bytestring,
binary,
split,
vector,
-- pretty-simple,
monad-loops,
executable-path,
filepath,
random
if flag(ffi)
build-depends:
libffi,
if os(windows)
build-depends: Win32
else
build-depends: unix
cpp-options: -DFFI
hs-source-dirs: lib
default-language: Haskell2010
default-extensions: OverloadedStrings,
ImportQualifiedPost,
DisambiguateRecordFields,
DuplicateRecordFields,
DeriveGeneric,
BlockArguments,
LambdaCase,
OverloadedRecordDot,
RecordWildCards,
NamedFieldPuns
executable indigo
main-is: Main.hs
hs-source-dirs: app
build-depends: base,
optparse-applicative,
megaparsec,
mtl,
text,
bytestring,
indigo,
vector,
timeit,
repline,
containers,
githash
default-extensions: OverloadedStrings,
ImportQualifiedPost,
DisambiguateRecordFields,
DuplicateRecordFields,
TemplateHaskell
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: tests
build-depends: base, hspec, hspec-contrib, QuickCheck, HUnit, indigo, generic-arbitrary, text, vector, megaparsec, mtl, raw-strings-qq, hspec-megaparsec
other-modules:
ParserSpec
BytecodeCompilerSpec
IntegrationSpec
VerifierSpec
RegInstSpec
OptimizerSpec
build-tool-depends: hspec-discover:hspec-discover == 2.*
default-language: Haskell2010
default-extensions: OverloadedStrings, ImportQualifiedPost, QuasiQuotes, DisambiguateRecordFields, DuplicateRecordFields, OverloadedRecordDot
-- https://github.com/typeable/generic-arbitrary/issues/17
ghc-options: -fconstraint-solver-iterations=100