codex 0.3.0.6 → 0.3.0.8
raw patch · 2 files changed
+6/−4 lines, 2 filesdep ~codexdep ~zlibPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: codex, zlib
API changes (from Hackage documentation)
Files
- codex.cabal +3/−3
- src/Codex/Project.hs +3/−1
codex.cabal view
@@ -1,5 +1,5 @@ name: codex-version: 0.3.0.6+version: 0.3.0.8 synopsis: A ctags file generator for cabal project dependencies. description: This tool download and cache the source code of packages in your local hackage,@@ -50,7 +50,7 @@ , transformers >= 0.3.0.0 && < 0.5 , yaml >= 0.8.8.3 && < 0.9 , wreq >= 0.3.0.1 && < 0.5- , zlib >= 0.5.4.1 && < 0.6+ , zlib >= 0.5.4.1 && < 0.7 executable codex default-language: Haskell2010@@ -76,7 +76,7 @@ , network >= 2.6 && < 2.7 , wreq , yaml - , codex == 0.3.0.6+ , codex == 0.3.0.8 source-repository head type: git
src/Codex/Project.hs view
@@ -7,6 +7,7 @@ #endif import Control.Exception (try, SomeException)+import Control.Monad import Data.Function import Data.Maybe import Distribution.InstalledPackageInfo@@ -47,7 +48,8 @@ findPackageDescription :: FilePath -> IO (Maybe GenericPackageDescription) findPackageDescription root = do- files <- getDirectoryContents root+ contents <- getDirectoryContents root+ files <- filterM (doesFileExist . (</>) root) contents traverse (readPackageDescription silent) $ fmap (\x -> root </> x) $ List.find (List.isSuffixOf ".cabal") files resolveCurrentProjectDependencies :: IO ProjectDependencies