mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 15:14:49 +03:00
b0d71e3ccc
Makes the code more declarative, and makes building without cabal easier.
16 lines
199 B
Haskell
16 lines
199 B
Haskell
{-# LANGUAGE CPP #-}
|
|
module Settings.Development where
|
|
|
|
import Prelude
|
|
|
|
development :: Bool
|
|
development =
|
|
#if DEVELOPMENT
|
|
True
|
|
#else
|
|
False
|
|
#endif
|
|
|
|
production :: Bool
|
|
production = not development
|