diff options
Diffstat (limited to 'src/Output.hs')
-rw-r--r-- | src/Output.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Output.hs b/src/Output.hs index b4678f5..2dbaa3f 100644 --- a/src/Output.hs +++ b/src/Output.hs @@ -40,6 +40,7 @@ data OutputType data OutputEvent = OutputMessage Text + | TestMessage Text | JobStarted JobId | JobFinished JobId Text @@ -93,6 +94,9 @@ outputEvent out@Output {..} = liftIO . \case forM_ outLogs $ \h -> outStrLn out h msg forM_ outTest $ \h -> outStrLn out h ("msg " <> msg) + TestMessage msg -> do + forM_ outTest $ \h -> outStrLn out h msg + JobStarted jid -> do forM_ outLogs $ \h -> outStrLn out h ("Started " <> textJobId jid) forM_ outTest $ \h -> outStrLn out h ("job-start " <> textJobId jid) |