ghc-mod 1.0.0 → 1.0.1
raw patch · 4 files changed
+6/−6 lines, 4 files
Files
- CabalDev.hs +3/−3
- GHCMod.hs +1/−1
- elisp/ghc.el +1/−1
- ghc-mod.cabal +1/−1
CabalDev.hs view
@@ -7,6 +7,7 @@ options ghc-mod uses to check the source. Otherwise just pass it on. -} +import Control.Applicative ((<$>)) import Data.Maybe (listToMaybe) import System.FilePath.Find import System.FilePath.Posix (splitPath,joinPath,(</>))@@ -37,9 +38,8 @@ searchIt path = do a <- doesDirectoryExist (mpath path) if a then do- b <- find always (fileName ~~? "packages*.conf") $ mpath path- maybe (searchIt $ init path) (return . Just) $ listToMaybe b+ listToMaybe <$> find always (fileName ~~? "packages*.conf") (mpath path) else- return Nothing+ searchIt $ init path where mpath a = joinPath a </> "cabal-dev/"
GHCMod.hs view
@@ -25,7 +25,7 @@ ghcOptHelp = " [-g GHC_opt1 -g GHC_opt2 ...] " usage :: String-usage = "ghc-mod version 1.0.0\n"+usage = "ghc-mod version 1.0.1\n" ++ "Usage:\n" ++ "\t ghc-mod list" ++ ghcOptHelp ++ "[-l]\n" ++ "\t ghc-mod lang [-l]\n"
elisp/ghc.el view
@@ -16,7 +16,7 @@ ;;; Code: -(defconst ghc-version "1.0.0")+(defconst ghc-version "1.0.1") ;; (eval-when-compile ;; (require 'haskell-mode))
ghc-mod.cabal view
@@ -1,5 +1,5 @@ Name: ghc-mod-Version: 1.0.0+Version: 1.0.1 Author: Kazu Yamamoto <kazu@iij.ad.jp> Maintainer: Kazu Yamamoto <kazu@iij.ad.jp> License: BSD3