Skip to content

Commit d33b2a1

Browse files
added upper and lower bounds for all deps in the cabal file
1 parent 97ecf4f commit d33b2a1

File tree

2 files changed

+39
-40
lines changed

2 files changed

+39
-40
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ cabal.project.local
2121
cabal.project.local~
2222
.HTF/
2323
.ghc.environment.*
24-
.stack-work/
2524
*~
2625
.DS_Store

quickjs-hs.cabal

Lines changed: 39 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,28 @@ library
2929
hs-source-dirs:
3030
src
3131
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
4848
default-language: Haskell2010
49-
Include-dirs: quickjs
49+
include-dirs: quickjs
5050
-- Order matters for dynamic linking, see GHC#12152.
5151
-- To make both `cabal repl` and `stack ghci` work, we have to
5252
-- make "a.cpp" come alphabetically before "main.cpp".
53-
C-sources:
53+
c-sources:
5454
quickjs/cutils.c
5555
, quickjs/libbf.c
5656
, quickjs/libregexp.c
@@ -64,25 +64,25 @@ library
6464
-DCONFIG_VERSION="2020-07-05"
6565
-DCONFIG_BIGNUM
6666

67+
6768
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

Comments
 (0)