on master help sign in
Merge pull request #225 from composewell/ghcjs-build
15e28aaHarendra Kumar
streamly.cabal+3−3
@@ -1053,7 +1053,7 @@ executable EchoServer
1053 main-is: EchoServer.hs
1053 main-is: EchoServer.hs
1054 hs-source-dirs: examples
1054 hs-source-dirs: examples
1055 ghc-options: -Wall
1055 ghc-options: -Wall
1056− if flag(examples) || flag(examples-sdl)
1056+ if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
1057 buildable: True
1057 buildable: True
1058 build-Depends:
1058 build-Depends:
1059 streamly
1059 streamly
@@ -1066,7 +1066,7 @@ executable FileSinkServer
1066 main-is: FileSinkServer.hs
1066 main-is: FileSinkServer.hs
1067 hs-source-dirs: examples
1067 hs-source-dirs: examples
1068 ghc-options: -Wall
1068 ghc-options: -Wall
1069− if flag(examples) || flag(examples-sdl)
1069+ if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
1070 buildable: True
1070 buildable: True
1071 build-Depends:
1071 build-Depends:
1072 streamly
1072 streamly
@@ -1079,7 +1079,7 @@ executable FromFileClient
1079 main-is: FromFileClient.hs
1079 main-is: FromFileClient.hs
1080 hs-source-dirs: examples
1080 hs-source-dirs: examples
1081 ghc-options: -Wall
1081 ghc-options: -Wall
1082− if flag(examples) || flag(examples-sdl)
1082+ if (flag(examples) || flag(examples-sdl)) && !impl(ghcjs)
1083 buildable: True
1083 buildable: True
1084 build-Depends:
1084 build-Depends:
1085 streamly
1085 streamly