packages feed

codex 0.0.1.4 → 0.0.1.5

raw patch · 3 files changed

+4/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

codex.cabal view
@@ -1,5 +1,5 @@ name:                codex-version:             0.0.1.4+version:             0.0.1.5 synopsis:            A ctags file generator for cabal project dependencies. description:            This tool download and cache the source code of packages in your local hackage,
src/Codex.hs view
@@ -62,7 +62,7 @@   fileExist <- tryIO $ doesFileExist file   if fileExist then do     content <- tryIO $ TLIO.readFile file-    let hash = TextL.toStrict . TextL.drop 13 . head . drop 2 $ TextL.lines content+    let hash = TextL.toStrict . TextL.drop 17 . head . drop 2 $ TextL.lines content     return $ hash /= (Text.pack $ dependenciesHash is)   else      return True@@ -108,5 +108,5 @@   tags i = packageTags cx i   headers :: [TextL.Text]   headers = fmap TextL.pack ["!_TAG_FILE_FORMAT 2", "!_TAG_FILE_SORTED 1", hash]-  hash = concat ["!_CODEX_HASH ", dependenciesHash is]+  hash = concat ["!_TAG_FILE_CODEX ", dependenciesHash is] 
src/Main.hs view
@@ -83,6 +83,7 @@           , "             [--help]"           , ""           , " update                Synchronize the `codex.tags` file in the current cabal project directory"+          , " update --force        Discard `codex.tags` file hash and force regeneration"           , " cache clean           Remove all `tags` file from the local hackage cache]"           , " set tagger <tagger>   Update the `~/.codex` configuration file for the given tagger (hasktags|ctags)."           , ""