-
Notifications
You must be signed in to change notification settings - Fork 848
Expand file tree
/
Copy pathBuild.hs
More file actions
36 lines (29 loc) · 877 Bytes
/
Build.hs
File metadata and controls
36 lines (29 loc) · 877 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{-# LANGUAGE NoImplicitPrelude #-}
{-|
Module : Stack.Types.Build
Description : Build-specific types.
License : BSD-3-Clause
Build-specific types.
-}
module Stack.Types.Build
( ExcludeTHLoading (..)
, ConvertPathsToAbsolute (..)
, KeepOutputOpen (..)
) where
import Stack.Prelude
-- | Type representing treatments of GHC's informational messages during
-- compilation when it evaluates Template Haskell code.
data ExcludeTHLoading
= ExcludeTHLoading
-- ^ Suppress the messages.
| KeepTHLoading
-- ^ Do not suppress the messages.
data ConvertPathsToAbsolute
= ConvertPathsToAbsolute
| KeepPathsAsIs
-- | Special marker for expected failures in curator builds, using those we need
-- to keep log handle open as build continues further even after a failure.
data KeepOutputOpen
= KeepOpen
| CloseOnException
deriving Eq