mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-01-11 19:58:28 +01:00
23 lines
260 B
Haskell
23 lines
260 B
Haskell
module Settings.Development where
|
|
|
|
import Prelude
|
|
|
|
development :: Bool
|
|
development =
|
|
#if DEVELOPMENT
|
|
True
|
|
#else
|
|
False
|
|
#endif
|
|
|
|
cabalFileLoader :: Bool
|
|
cabalFileLoader =
|
|
#if INGHCI
|
|
False
|
|
#else
|
|
True
|
|
#endif
|
|
|
|
production :: Bool
|
|
production = not development
|