-
Notifications
You must be signed in to change notification settings - Fork 701
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6650 from phadej/pr-6641
Split monolithic Init.hs module into 5 sub-modules.
- Loading branch information
Showing
8 changed files
with
1,501 additions
and
1,308 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
----------------------------------------------------------------------------- | ||
-- | | ||
-- Module : Distribution.Client.Init.Defaults | ||
-- Copyright : (c) Brent Yorgey 2009 | ||
-- License : BSD-like | ||
-- | ||
-- Maintainer : [email protected] | ||
-- 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 ) | ||
import Distribution.Version | ||
( Version, mkVersion ) | ||
|
||
defaultCabalVersion :: Version | ||
defaultCabalVersion = mkVersion [1,10] | ||
|
||
myLibModule :: ModuleName | ||
myLibModule = ModuleName.fromString "MyLib" |
Oops, something went wrong.