packages feed

hledger-diff 0.2.0.13 → 0.2.0.14

raw patch · 2 files changed

+7/−2 lines, 2 files

Files

Main.hs view
@@ -1,3 +1,4 @@+{-# LANGUAGE CPP #-} import Hledger import Data.List import Data.Function@@ -62,7 +63,11 @@  readJournalFile' :: FilePath -> IO Journal readJournalFile' fn = do+#if MIN_VERSION_hledger_lib(1,9,1)+    Right j <- readJournalFile definputopts {ignore_assertions_ = True} fn+#else     Right j <- readJournalFile (Just "journal") Nothing False fn+#endif     return j  matchingPostings :: AccountName -> Journal -> [PostingWithPath]@@ -79,7 +84,7 @@ main :: IO () main = getArgs >>= \args -> case args of   [acct, f1, f2] -> diffCmd (T.pack acct) f1 f2-  ["--version"] -> putStrLn "hledger-diff 0.2.0.13"  -- keep synced with hledger-diff.cabal+  ["--version"] -> putStrLn "hledger-diff 0.2.0.14"  -- keep synced with hledger-diff.cabal   _ -> do     putStrLn "Usage: hledger-diff account:name left.journal right.journal"     exitFailure
hledger-diff.cabal view
@@ -1,5 +1,5 @@ name:                hledger-diff-version:             0.2.0.13+version:             0.2.0.14 synopsis:            Compares the transactions in two ledger files. description:   hledger-diff is a command-line utility to compare two journal files.  It