Defaults.hs 920 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
-----------------------------------------------------------------------------
-- |
-- Module      :  Distribution.Client.Init.Defaults
-- Copyright   :  (c) Brent Yorgey 2009
-- License     :  BSD-like
--
-- Maintainer  :  cabal-devel@haskell.org
-- Stability   :  provisional
-- Portability :  portable
--
-- Default values to use in cabal init (if not specified in config/flags).
--
-----------------------------------------------------------------------------

module Distribution.Client.Init.Defaults (
    defaultCabalVersion
  , myLibModule
  ) where

import Distribution.ModuleName
  ( ModuleName )  -- And for the Text instance
import qualified Distribution.ModuleName as ModuleName
  ( fromString )
Oleg Grenrus's avatar
Oleg Grenrus committed
24 25
import Distribution.CabalSpecVersion
  ( CabalSpecVersion (..))
26

Oleg Grenrus's avatar
Oleg Grenrus committed
27 28
defaultCabalVersion :: CabalSpecVersion
defaultCabalVersion = CabalSpecV2_4
29 30 31

myLibModule :: ModuleName
myLibModule = ModuleName.fromString "MyLib"