bibdb 0.3.0 → 0.4.1
raw patch · 4 files changed
+16/−7 lines, 4 filesdep ~bibtex
Dependency ranges changed: bibtex
Files
- bibdb.cabal +2/−2
- dist/build/bibdb/bibdb-tmp/Parser/Parser.hs +6/−2
- src/Main.hs +2/−1
- src/Parser/Parser.y +6/−2
bibdb.cabal view
@@ -1,5 +1,5 @@ name: bibdb-version: 0.3.0+version: 0.4.1 category: Text synopsis: A database based bibliography manager for BibTeX homepage: https://github.com/cacay/bibdb@@ -55,7 +55,7 @@ containers >= 0.5 && < 1, bytestring == 0.10.6.*, pretty == 1.1.3.*,- bibtex >= 0.1.0.5 && < 0.2,+ bibtex >= 0.1.0.6 && < 0.2, parsec == 3.1.*, curl >= 1.3 && < 2.0, download-curl >= 0.1.4 && < 0.2
dist/build/bibdb/bibdb-tmp/Parser/Parser.hs view
@@ -445,11 +445,15 @@ parseSource loc _ key = undefined parseType :: String -> Alex SourceType+parseType "DOI" = return Doi+parseType "doi" = return Doi+parseType "arXiv" = return ArXiv parseType "DBLP" = return Dblp parseType "dblp" = return Dblp parseType "CiteSeerX" = return CiteSeerX-parseType "DOI" = return Doi-parseType "doi" = return Doi+parseType "HAL" = return Hal+parseType "hal" = return Hal+parseType "inria" = return Inria parseType t = lexError $ "invalid source type" ++ t
src/Main.hs view
@@ -67,7 +67,8 @@ let renames = zip ids (map Parser.entryIdent entries) let final = bibliography renames database- liftIO $ writeFile outputFile (renderList final)+ let msg = "Automatically generated file. DO NOT MODIFY!\n"+ liftIO $ writeFile outputFile (msg ++ "\n" ++ renderList final) where outputFile :: FilePath
src/Parser/Parser.y view
@@ -175,11 +175,15 @@ parseSource loc _ key = undefined parseType :: String -> Alex SourceType+parseType "DOI" = return Doi+parseType "doi" = return Doi+parseType "arXiv" = return ArXiv parseType "DBLP" = return Dblp parseType "dblp" = return Dblp parseType "CiteSeerX" = return CiteSeerX-parseType "DOI" = return Doi-parseType "doi" = return Doi+parseType "HAL" = return Hal+parseType "hal" = return Hal+parseType "inria" = return Inria parseType t = lexError $ "invalid source type" ++ t