diff options
author | tv <tv@shackspace.de> | 2015-07-27 17:49:02 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-27 17:49:02 +0200 |
commit | 5a03593b3a6eb97d2f369424b2631ad122b8de85 (patch) | |
tree | 0cd89681537d19bbb8c6ca66936bd395bf27c855 /tv/pkgs/lentil/1.patch | |
parent | 6fcb2682dbb4ae4dd23f821ff1adfcb7a0550a88 (diff) |
tv pkgs lentil: 0.1.2.7 -> 0.1.3.0
Diffstat (limited to 'tv/pkgs/lentil/1.patch')
-rw-r--r-- | tv/pkgs/lentil/1.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/tv/pkgs/lentil/1.patch b/tv/pkgs/lentil/1.patch deleted file mode 100644 index 1ed9818c7..000000000 --- a/tv/pkgs/lentil/1.patch +++ /dev/null @@ -1,39 +0,0 @@ -diff -rN -u old-lentil/src/Lentil/File.hs new-lentil/src/Lentil/File.hs ---- old-lentil/src/Lentil/File.hs 2015-07-20 22:43:23.177620724 +0200 -+++ new-lentil/src/Lentil/File.hs 2015-07-20 22:43:23.177620724 +0200 -@@ -13,10 +13,13 @@ - import Lentil.Types - import Lentil.Parse.Run - -+import System.Directory - import System.FilePath - import System.FilePath.Find -+import Data.Either - import Data.Monoid - import Control.Applicative -+import Control.Exception.Base - - import qualified Data.List as L - -@@ -36,7 +39,12 @@ - -------------- - - findIssues :: [FilePath] -> [FilePath] -> IO [Issue] --findIssues is xs = find always (findClause is xs) "." >>= issueFinder -+findIssues is xs = -+ (mapM (try . canonicalizePath) is :: IO [Either SomeException FilePath]) >>= -+ return . rights >>= -+ mapM (\i -> find always (findClause [i] xs) i) >>= -+ return . concat >>= -+ issueFinder - - -- fp to include, fp to exclude, clause - findClause :: [FilePath] -> [FilePath] -> FindClause Bool -@@ -47,6 +55,6 @@ - (not <$> fmap getAny xc) - where - fp2fc :: FilePath -> FindClause Any -- fp2fc f = Any . L.isPrefixOf (combine "." f) <$> filePath -+ fp2fc f = Any . L.isPrefixOf f <$> filePath - -- TODO: combine funziona su windows? [feature:intermediate] - |