packages feed

shake-ext 2.11.0.3 → 2.11.0.4

raw patch · 2 files changed

+8/−1 lines, 2 filesPVP: minor bump suggested

API additions: PVP suggests at least a minor version bump

API changes (from Hackage documentation)

+ Development.Shake.C: getAll :: MonadIO m => [FilePath] -> FilePath -> m [FilePath]
+ Development.Shake.C: isCross :: CCompiler -> Bool

Files

shake-ext.cabal view
@@ -1,6 +1,6 @@ cabal-version: 1.18 name: shake-ext-version: 2.11.0.3+version: 2.11.0.4 license: BSD3 license-file: LICENSE copyright: Copyright: (c) 2018 Vanessa McHale
src/Development/Shake/C.hs view
@@ -30,11 +30,13 @@                            , examineCfg                            -- * Reëxports from "Language.C.Dependency"                            , getCDepends+                           , getAll                            -- * Helper functions                            , cconfigToArgs                            , ccToString                            , ccFromString                            , host+                           , isCross                            ) where  import           Control.Monad@@ -91,6 +93,11 @@ arToString (GCC pre)   = mkQualified pre Nothing "ar" arToString (GHC pre _) = mkQualified pre Nothing "ar" arToString _           = "ar"++isCross :: CCompiler -> Bool+isCross (GCC Just{})   = True+isCross (GHC Just{} _) = True+isCross _              = False  -- | Attempt to parse a string as a 'CCompiler', defaulting to @cc@ if parsing -- fails.