File tree 2 files changed +21
-13
lines changed
2 files changed +21
-13
lines changed Original file line number Diff line number Diff line change 20
20
" ./build_dev_bin.sh"
21
21
],
22
22
"test" : [
23
- " cabal test"
23
+ " cabal test -f dev "
24
24
],
25
25
"compiler" : [
26
26
" GREN_BIN=$PWD/gren node cli.js"
Original file line number Diff line number Diff line change @@ -29,18 +29,17 @@ source-repository head
29
29
type : git
30
30
location : git://github.com/gren/compiler.git
31
31
32
-
33
32
Flag dev {
34
33
Description : Turn off optimization and make warnings errors
35
34
Default : False
36
35
}
37
36
38
37
39
- Common gren- common
38
+ Library common
40
39
if flag(dev)
41
40
ghc-options : -O0 -Wall
42
41
else
43
- ghc-options : -O2 -Wall -Werror -threaded "-with-rtsopts=-N"
42
+ ghc-options : -O2 -Wall -Werror
44
43
45
44
default-language : GHC2021
46
45
@@ -49,7 +48,7 @@ Common gren-common
49
48
builder/src
50
49
terminal
51
50
52
- other-modules :
51
+ Exposed-Modules :
53
52
Format
54
53
Init
55
54
Make
@@ -219,19 +218,23 @@ Common gren-common
219
218
indexed-traversable
220
219
221
220
Executable gren
222
- Import :
223
- gren-common
224
-
225
221
default-language : GHC2021
222
+ main-is : terminal/Main.hs
223
+
224
+ if flag(dev)
225
+ ghc-options : -O0 -Wall
226
+ else
227
+ ghc-options : -O2 -Wall -Werror -threaded "-with-rtsopts=-N"
226
228
227
- Main-Is :
228
- Main.hs
229
+ build-depends :
230
+ gren :common,
231
+ base >= 4.17 && < 5 ,
232
+ bytestring >= 0.11 && < 0.12 ,
229
233
230
234
Test-Suite gren-tests
231
- Import :
232
- gren-common
233
-
234
235
default-language : GHC2021
236
+
237
+ ghc-options : -O0 -Wall
235
238
236
239
Type :
237
240
exitcode-stdio-1.0
@@ -257,6 +260,11 @@ Test-Suite gren-tests
257
260
Parse.DeclSpec
258
261
259
262
Build-Depends :
263
+ gren :common,
264
+ base >= 4.17 && < 5 ,
265
+ text >= 2 && < 3 ,
266
+ utf8-string,
267
+ bytestring >= 0.11 && < 0.12 ,
260
268
hspec >= 2.7.10 && < 3
261
269
262
270
Build-Tool-Depends :
You can’t perform that action at this time.
0 commit comments