packages feed

hoogle 4.2.24 → 4.2.25

raw patch · 2 files changed

+1/−24 lines, 2 files

Files

hoogle.cabal view
@@ -1,7 +1,7 @@ cabal-version:      >= 1.10 build-type:         Simple name:               hoogle-version:            4.2.24+version:            4.2.25 license:            BSD3 license-file:       docs/LICENSE category:           Development
− src/Test.hs
@@ -1,23 +0,0 @@--module Main(main) where--import Control.Monad-import System.Cmd-import System.Directory-import System.Exit-import System.FilePath---main :: IO ()-main = do-    let files = ["./dist/build/hoogle/hoogle.exe","./dist/build/hoogle/hoogle"-                ,"./hoogle.exe","./hoogle"-                ,"../hoogle/hoogle.exe","../hoogle/hoogle"]-    found <- filterM doesFileExist files-    let hoogle args = do-            let cmd = normalise (head (found ++ ["hoogle"])) ++ " " ++ args-            res <- system cmd-            when (res /= ExitSuccess) $ error $ "Command: " ++ cmd ++ "\nFailed with: " ++ show res--    hoogle "data"-    hoogle "test --example"