This repository was archived by the owner on Aug 1, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,12 @@ library
36
36
, Cardano.Shell.Presets
37
37
, Cardano.Shell.Features.Logging
38
38
other-modules :
39
- Cardano.Shell.NodeIPC.Example
40
- , Cardano.Shell.NodeIPC.Lib
39
+ Cardano.Shell.NodeIPC.Lib
41
40
, Cardano.Shell.NodeIPC.Message
41
+ if !os(windows)
42
+ other-modules :
43
+ Cardano.Shell.NodeIPC.Example
44
+
42
45
hs-source-dirs :
43
46
app
44
47
, src
@@ -180,7 +183,10 @@ test-suite cardano-shell-test
180
183
other-modules :
181
184
Paths_cardano_shell
182
185
DhallConfigSpec
186
+ if !os(windows)
187
+ other-modules :
183
188
NodeIPCSpec
189
+
184
190
hs-source-dirs :
185
191
test
186
192
ghc-options : -threaded -rtsopts -with-rtsopts=-N
Original file line number Diff line number Diff line change 3
3
<https://github.com/input-output-hk/cardano-shell/blob/develop/specs/CardanoShellSpec.pdf>
4
4
-}
5
5
6
+ {-# LANGUAGE CPP #-}
7
+
6
8
module Cardano.Shell.NodeIPC
7
9
(-- * Data types
8
10
Port (.. )
@@ -21,9 +23,11 @@ module Cardano.Shell.NodeIPC
21
23
-- * Used for testing
22
24
, sendMessage
23
25
, readMessage
26
+ #if !defined(mingw32_HOST_OS)
24
27
, exampleWithFD
25
28
, exampleWithProcess
26
29
, getReadWriteHandles
30
+ #endif
27
31
-- * Predicates
28
32
, isIPCException
29
33
, isHandleClosed
@@ -32,9 +36,11 @@ module Cardano.Shell.NodeIPC
32
36
, isNodeChannelCannotBeFound
33
37
) where
34
38
39
+ #if !defined(mingw32_HOST_OS)
35
40
import Cardano.Shell.NodeIPC.Example (exampleWithFD ,
36
41
exampleWithProcess ,
37
42
getReadWriteHandles )
43
+ #endif
38
44
import Cardano.Shell.NodeIPC.Lib (MessageSendFailure (.. ), MsgIn (.. ),
39
45
MsgOut (.. ), NodeIPCException (.. ),
40
46
Port (.. ), ProtocolDuration (.. ),
You can’t perform that action at this time.
0 commit comments