forked from haskell/cabal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Factor loadExactConfig out of loadRawConfig
loadExactConfig will load just the config in the given file path or return nothing if the file does not exist. loadRawConfig will continue to load the user config in ~/.cabal/config or the file specified by CABAL_CONFIG. loadExactConfig is factored out so that the same logic may be used to read config files from other locations.
- Loading branch information
Showing
1 changed file
with
23 additions
and
12 deletions.
There are no files selected for viewing
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