Skip to content

Commit

Permalink
Allow building with base-4.20.*, websockets-0.13.*
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanGlScott committed Apr 20, 2024
1 parent 077294e commit 683aff3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions benchmarks/javascript-bridge-benchmarks.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ tested-with: GHC == 8.4.4

executable javascript-bridge-benchmarks
ghc-options: -Wall -O2 -rtsopts
build-depends: base >= 4.11 && < 4.20
build-depends: base >= 4.11 && < 4.21
, javascript-bridge
, binary >= 0.8 && < 0.9
, aeson >= 1.0 && < 2.3
Expand All @@ -36,7 +36,7 @@ executable javascript-bridge-benchmarks
, unordered-containers >= 0.2.7 && < 0.3
, wai >= 3.2 && < 3.3
, wai-websockets >= 3.0.1 && < 3.1
, websockets >= 0.10 && < 0.13
, websockets >= 0.10 && < 0.14
main-is: Main.hs
-- hs-source-dirs: ..
-- other-modules: Network.JavaScript,
Expand Down
10 changes: 5 additions & 5 deletions javascript-bridge.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ library
exposed-modules: Network.JavaScript,
Network.JavaScript.Internal,
Network.JavaScript.Services
build-depends: base >= 4.11 && < 4.20
build-depends: base >= 4.11 && < 4.21
, binary >= 0.8 && < 0.9
, aeson >= 1.4 && < 2.3
, containers >= 0.5 && < 0.8
Expand All @@ -41,15 +41,15 @@ library
, transformers >= 0.4 && < 0.7
, wai >= 3.2 && < 3.3
, wai-websockets >= 3.0.1 && < 3.1
, websockets >= 0.10 && < 0.13
, websockets >= 0.10 && < 0.14
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall

test-suite javascript-bridge-test
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends: base >= 4.11 && < 4.20
build-depends: base >= 4.11 && < 4.21
, aeson >= 1.0 && < 2.3
, javascript-bridge
, scotty >= 0.11 && < 0.23
Expand All @@ -64,7 +64,7 @@ test-suite javascript-bridge-test
executable javascript-bridge-simple
main-is: Main.hs
other-modules: Paths_javascript_bridge
build-depends: base >= 4.11 && < 4.20
build-depends: base >= 4.11 && < 4.21
, javascript-bridge
, scotty >= 0.11 && < 0.23
hs-source-dirs: examples
Expand All @@ -74,7 +74,7 @@ executable javascript-bridge-simple
executable javascript-bridge-examples
main-is: Multi.hs
other-modules: Paths_javascript_bridge
build-depends: base >= 4.11 && < 4.20
build-depends: base >= 4.11 && < 4.21
, javascript-bridge
, scotty >= 0.11 && < 0.23
, text >= 1.2 && < 2.2
Expand Down

0 comments on commit 683aff3

Please sign in to comment.