packages feed

Villefort 0.1.1.1 → 0.1.1.2

raw patch · 3 files changed

+6/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

Villefort.cabal view
@@ -1,5 +1,5 @@ name:                Villefort-version:             0.1.1.1+version:             0.1.1.2 synopsis: Villefort is a task manager and time tracker written in haskell. description: Villefort is a browser based time tracker. homepage:            https://github.com/Chrisr850/Villefort#readme
src/Villefort/Database.hs view
@@ -23,9 +23,12 @@ path' :: IO FilePath path' = do   args <- getArgs-  if args !! 0 == "--custom"+  if length args > 1 then+    if args !! 0 == "--custom"     then return $ args !! 1     else getDataDir+    else getDataDir+      getDb :: IO Connection   getDb =  (++ "/data/todo.db") <$> path' >>= \path ->  connectSqlite3 path
src/Villefort/Server.hs view
@@ -23,6 +23,7 @@ import System.FilePath import System.Posix.Process import Paths_Villefort+ getWeeks :: IO [[[Char]]] getWeeks = do   rawSql <- makeQuery "select id, Title from weeks where state = 1 order by Title"