File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -252,7 +252,6 @@ Common common
252
252
uri-encode < 1.6 ,
253
253
vector >= 0.11.0.0 && < 0.13
254
254
255
- GHC-Options : -Wall -Wcompat -Wincomplete-uni-patterns
256
255
257
256
if flag(with-http)
258
257
CPP-Options :
@@ -264,7 +263,7 @@ Common common
264
263
CPP-Options :
265
264
-DNETWORK_TESTS
266
265
267
- Common lib-depends
266
+ GHC-Options : -Wall -Wcompat -Wincomplete-uni-patterns
268
267
if !impl(ghcjs)
269
268
Build-Depends :
270
269
cryptohash-sha256
@@ -277,14 +276,19 @@ Common lib-depends
277
276
http-client-tls >= 0.2.0 && < 0.4
278
277
279
278
280
- Custom-Setup
281
- Setup-Depends :
282
- base
283
- , Cabal
284
- , cabal-doctest
279
+ Library
280
+ Import : common
281
+ Hs-Source-Dirs : src
282
+ if impl(ghcjs)
283
+ Hs-Source-Dirs : ghcjs-src
284
+ Build-Depends :
285
+ ghcjs-base ,
286
+ ghcjs-xhr
287
+ else
288
+ Hs-Source-Dirs : ghc-src
285
289
286
290
Library
287
- Import : common, lib-depends
291
+ Import : common
288
292
if impl(ghcjs)
289
293
Hs-Source-Dirs : ghcjs-src
290
294
else
@@ -429,17 +433,13 @@ Test-Suite tasty
429
433
Default-Language : Haskell2010
430
434
431
435
Test-Suite doctest
432
- -- This needs the same imports as the library
433
- Import : common, lib-depends
436
+ Import : common
434
437
Type : exitcode-stdio-1.0
435
438
Hs-Source-Dirs : doctest
436
439
Main-Is : Main.hs
437
440
Build-Depends :
438
441
mockery < 0.4 ,
439
442
doctest >= 0.7.0 ,
440
- base-compat ,
441
- special-values ,
442
- QuickCheck
443
443
444
444
if os(windows)
445
445
-- https://github.com/dhall-lang/dhall-haskell/issues/2237
You can’t perform that action at this time.
0 commit comments