@@ -29,28 +29,28 @@ library
29
29
hs-source-dirs :
30
30
src
31
31
build-depends :
32
- base >= 4.7 && < 5
33
- , aeson
34
- , bytestring
35
- , containers
36
- , exceptions
37
- , inline-c
38
- , mtl
39
- , scientific
40
- , string-conv
41
- , template-haskell
42
- , text
43
- , time
44
- , transformers
45
- , unliftio-core
46
- , unordered-containers
47
- , vector
32
+ base >= 4.7 && < 5
33
+ , aeson >= 1.4.7.1 && < 1.5
34
+ , bytestring >= 0.10.10.0 && < 0.11
35
+ , containers >= 0.6.2.1 && < 0.7
36
+ , exceptions >= 0.10.4 && < 0.11
37
+ , inline-c >= 0.9.1.0 && < 0.10
38
+ , mtl >= 2.2.2 && < 2.3
39
+ , scientific >= 0.3.6.2 && < 0.4
40
+ , string-conv >= 0.1.2 && < 0.2
41
+ , template-haskell >= 2.15.0.0 && < 2.16
42
+ , text >= 1.2.4.0 && < 1.3
43
+ , time >= 1.9.3 && < 1.10
44
+ , transformers >= 0.5.6.2 && < 0.6
45
+ , unliftio-core >= 0.1.2.0 && < 0.2
46
+ , unordered-containers >= 0.2.10.0 && < 0.3
47
+ , vector >= 0.12.1.2 && < 0.13
48
48
default-language : Haskell2010
49
- Include -dirs : quickjs
49
+ include -dirs : quickjs
50
50
-- Order matters for dynamic linking, see GHC#12152.
51
51
-- To make both `cabal repl` and `stack ghci` work, we have to
52
52
-- make "a.cpp" come alphabetically before "main.cpp".
53
- C -sources :
53
+ c -sources :
54
54
quickjs/cutils.c
55
55
, quickjs/libbf.c
56
56
, quickjs/libregexp.c
@@ -64,25 +64,25 @@ library
64
64
-DCONFIG_VERSION="2020-07-05"
65
65
-DCONFIG_BIGNUM
66
66
67
+
67
68
test-suite quickjs-hs-test
68
- type : exitcode-stdio-1.0
69
- main-is : Spec.hs
70
- other-modules :
71
- Paths_quickjs_hs
72
- hs-source-dirs :
73
- test
74
- ghc-options : -threaded -rtsopts -with-rtsopts=-N
75
- build-depends :
76
- base >= 4.7 && < 5
77
- , quickjs-hs
78
- , aeson
79
- , exceptions
80
- , HUnit
81
- , QuickCheck
82
- , tasty
83
- , tasty-hunit
84
- , tasty-quickcheck
85
- , text
86
- , unordered-containers
87
- , vector
88
- default-language : Haskell2010
69
+ type : exitcode-stdio-1.0
70
+ main-is : Spec.hs
71
+ hs-source-dirs : test
72
+ other-modules : Paths_quickjs_hs
73
+ default-language : Haskell2010
74
+ ghc-options : -threaded -rtsopts -with-rtsopts=-N
75
+ build-depends :
76
+ base
77
+ , quickjs-hs -any
78
+ , aeson
79
+ , exceptions
80
+ , HUnit >= 1.6.0.0 && < 1.7
81
+ , QuickCheck >= 2.13.2 && < 2.14
82
+ , tasty >= 1.2.3 && < 1.3
83
+ , tasty-hunit >= 0.10.0.2 && < 0.11
84
+ , tasty-quickcheck >= 0.10.1.1 && < 0.11
85
+ , text
86
+ , unordered-containers
87
+ , vector
88
+
0 commit comments