mirror of
https://github.com/ilyakooo0/streamly.git
synced 2024-09-19 04:37:33 +03:00
Merge pull request #225 from composewell/ghcjs-build
Do not compile examples depending on network in ghcjs build.
This commit is contained in:
commit
15e28aab45
@ -1053,7 +1053,7 @@ executable EchoServer
|
||||
main-is: EchoServer.hs
|
||||
hs-source-dirs: examples
|
||||
ghc-options: -Wall
|
||||
if flag(examples) || flag(examples-sdl)
|
||||
if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
|
||||
buildable: True
|
||||
build-Depends:
|
||||
streamly
|
||||
@ -1066,7 +1066,7 @@ executable FileSinkServer
|
||||
main-is: FileSinkServer.hs
|
||||
hs-source-dirs: examples
|
||||
ghc-options: -Wall
|
||||
if flag(examples) || flag(examples-sdl)
|
||||
if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
|
||||
buildable: True
|
||||
build-Depends:
|
||||
streamly
|
||||
@ -1079,7 +1079,7 @@ executable FromFileClient
|
||||
main-is: FromFileClient.hs
|
||||
hs-source-dirs: examples
|
||||
ghc-options: -Wall
|
||||
if flag(examples) || flag(examples-sdl)
|
||||
if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
|
||||
buildable: True
|
||||
build-Depends:
|
||||
streamly
|
||||
|
Loading…
Reference in New Issue
Block a user