on master help sign in
Merge pull request #220 from composewell/ghcjs-build
6bde698Harendra Kumar
streamly.cabal+8−4
@@ -221,9 +221,6 @@ library
221 , Streamly.FileSystem.FD
221 , Streamly.FileSystem.FD
222 , Streamly.FileSystem.Handle
222 , Streamly.FileSystem.Handle
223 , Streamly.FileSystem.File
223 , Streamly.FileSystem.File
224− , Streamly.Network.Socket
225− , Streamly.Network.Server
226− , Streamly.Network.Client
227
224
228 -- Time
225 -- Time
229 , Streamly.Time.Units
226 , Streamly.Time.Units
@@ -231,6 +228,11 @@ library
231
228
232 , Streamly.Tutorial
229 , Streamly.Tutorial
233 , Streamly.Internal
230 , Streamly.Internal
231+ if !impl(ghcjs)
232+ exposed-modules:
233+ Streamly.Network.Socket
234+ , Streamly.Network.Server
235+ , Streamly.Network.Client
234
236
235 default-language: Haskell2010
237 default-language: Haskell2010
236 ghc-options: -Wall -fspec-constr-recursive=10
238 ghc-options: -Wall -fspec-constr-recursive=10
@@ -275,8 +277,10 @@ library
275 , mtl >= 2.2 && < 3
277 , mtl >= 2.2 && < 3
276 , transformers >= 0.4 && < 0.6
278 , transformers >= 0.4 && < 0.6
277 , transformers-base >= 0.4 && < 0.5
279 , transformers-base >= 0.4 && < 0.5
278− , network >= 2.6 && < 4
279
280
281+ if !impl(ghcjs)
282+ build-depends:
283+ network >= 2.6 && < 4
280 if impl(ghc < 8.0)
284 if impl(ghc < 8.0)
281 build-depends:
285 build-depends:
282 semigroups >= 0.18 && < 0.19
286 semigroups >= 0.18 && < 0.19