Commit e8e29025 authored by Duncan Coutts's avatar Duncan Coutts Committed by Edward Z. Yang
Browse files

Rename cabal.project.extra to cabal.project.local

parent f8d3d141
...@@ -388,10 +388,10 @@ readProjectLocalExtraConfig verbosity projectRootDir = do ...@@ -388,10 +388,10 @@ readProjectLocalExtraConfig verbosity projectRootDir = do
else do monitorFiles [monitorNonExistentFile projectExtraConfigFile] else do monitorFiles [monitorNonExistentFile projectExtraConfigFile]
return mempty return mempty
where where
projectExtraConfigFile = projectRootDir </> "cabal.project.extra" projectExtraConfigFile = projectRootDir </> "cabal.project.local"
readProjectExtraConfigFile = readProjectExtraConfigFile =
reportParseResult verbosity "project extra configuration file" reportParseResult verbosity "project local configuration file"
projectExtraConfigFile projectExtraConfigFile
. parseProjectConfig . parseProjectConfig
=<< readFile projectExtraConfigFile =<< readFile projectExtraConfigFile
...@@ -424,7 +424,7 @@ writeProjectLocalExtraConfig :: FilePath -> ProjectConfig -> IO () ...@@ -424,7 +424,7 @@ writeProjectLocalExtraConfig :: FilePath -> ProjectConfig -> IO ()
writeProjectLocalExtraConfig projectRootDir = writeProjectLocalExtraConfig projectRootDir =
writeProjectConfigFile projectExtraConfigFile writeProjectConfigFile projectExtraConfigFile
where where
projectExtraConfigFile = projectRootDir </> "cabal.project.extra" projectExtraConfigFile = projectRootDir </> "cabal.project.local"
-- | Write in the @cabal.project@ format to the given file. -- | Write in the @cabal.project@ format to the given file.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment