This repository has been archived by the owner on Apr 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgnc.cabal
125 lines (117 loc) · 3.06 KB
/
gnc.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
115
116
117
118
119
120
121
122
123
124
125
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: bbbf7a2625acf954e970ea82254ebb65a6798a02149b206bf558e98c6d93406f
name: gnc
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/mesabloo/nihil#readme>
homepage: https://github.com/mesabloo/nihil#readme
bug-reports: https://github.com/mesabloo/nihil/issues
author: Ghilain Bergeron (Mesabloo)
maintainer: Ghilain Bergeron (Mesabloo)
copyright: 2019 Ghilain Bergeron (Mesabloo)
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
source-repository head
type: git
location: https://github.com/mesabloo/nihil
flag profile
description: Enable/disable compiler profiling.
manual: True
default: False
library
exposed-modules:
Nihil
other-modules:
Paths_gnc
hs-source-dirs:
src
ghc-options: -Wall -Wno-unused-do-bind -Wno-orphans -Wno-name-shadowing -Wno-unused-matches -O2 -optc-O3
build-depends:
base
, gnc-core
, gnc-parser
, gnc-pretty
, gnc-runtime
, gnc-typechecker
, gnc-utils
if flag(profile)
ghc-options: -prof -auto-all -with-rtsopts=-p,-s
default-language: Haskell2010
executable nihilin
main-is: Main.hs
other-modules:
Paths_gnc
hs-source-dirs:
app/nihilin
ghc-options: -Wall -Wno-unused-do-bind -Wno-orphans -Wno-name-shadowing -Wno-unused-matches -O2 -optc-O3 -threaded -rtsopts -with-rtsopts=-N -Wno-type-defaults
build-depends:
ansi-wl-pprint
, base
, containers
, gnc
, gnc-core
, gnc-parser
, gnc-pretty
, gnc-runtime
, gnc-typechecker
, gnc-utils
, lens
, megaparsec
, mtl
, text
if flag(profile)
ghc-options: -prof -auto-all -with-rtsopts=-p,-s
default-language: Haskell2010
test-suite compiler
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Nihil.B_ParserSpec
Nihil.C_DesugarerSpec
Paths_gnc
hs-source-dirs:
tests/compiler
ghc-options: -Wall -Wno-unused-do-bind -Wno-orphans -Wno-name-shadowing -Wno-unused-matches -O2 -optc-O3 -O0 -optc-O0 -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, containers
, gnc
, gnc-core
, gnc-parser
, gnc-pretty
, gnc-runtime
, gnc-typechecker
, gnc-utils
, hspec
, text
if flag(profile)
ghc-options: -prof -auto-all -with-rtsopts=-p,-s
default-language: Haskell2010
test-suite utils
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Nihil.UtilsSpec
Paths_gnc
hs-source-dirs:
tests/utils
ghc-options: -Wall -Wno-unused-do-bind -Wno-orphans -Wno-name-shadowing -Wno-unused-matches -O2 -optc-O3 -O0 -optc-O0 -threaded -rtsopts -with-rtsopts=-N
build-depends:
base
, gnc
, gnc-core
, gnc-parser
, gnc-pretty
, gnc-runtime
, gnc-typechecker
, gnc-utils
, hspec
if flag(profile)
ghc-options: -prof -auto-all -with-rtsopts=-p,-s
default-language: Haskell2010