codex 0.0.1.0 → 0.0.1.1
raw patch · 2 files changed
+4/−5 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- codex.cabal +2/−2
- src/Main.hs +2/−3
codex.cabal view
@@ -1,12 +1,12 @@ name: codex-version: 0.0.1.0+version: 0.0.1.1 synopsis: Code Explorer for Cabal description: This tool download and cache the source code of packages in your local hackage, he can then use this cache to generate `tags` files aggregating the sources of all the dependencies of your cabal projects. . You basically do `codex update` in your cabal project directory and you'll get a `codex.tags` file- that you can use in your favorite text editor (VIM/Emacs/Sublime).+ that you can use in your favorite text editor. homepage: http://github.com/aloiscochard/codex license: OtherLicense
src/Main.hs view
@@ -47,9 +47,8 @@ (Archive) -> extract cx i >>= (const $ getTags i) (Remote) -> fetch cx i >>= (const $ getTags i) generate xs = do - res <- runErrorT $ assembly cx (fmap identifier xs) path- failOr (return ()) res where- path = joinPath [concat [display . pkgName . identifier $ project, ".tags"]]+ res <- runErrorT $ assembly cx (fmap identifier xs) (joinPath ["codex.tags"])+ failOr (return ()) res failOr y x = either (putStrLn . show) (const y) x getCurrentProject :: IO (Maybe GenericPackageDescription)