packages feed

cabal-cargs 0.7.6 → 0.7.7

raw patch · 4 files changed

+18/−8 lines, 4 filesdep ~filepathdep ~lens

Dependency ranges changed: filepath, lens

Files

CHANGELOG view
@@ -1,3 +1,7 @@+0.7.7+-----+* Support GHC 7.10.1+ 0.7.6 ----- * Raise upper bounds of lens and Cabal libs
cabal-cargs.cabal view
@@ -1,5 +1,5 @@ name: cabal-cargs-version: 0.7.6+version: 0.7.7 cabal-version: >=1.9.2 build-type: Simple license: BSD3@@ -10,7 +10,7 @@     For further details please consult the <https://github.com/dan-t/cabal-cargs README>. category: Utils, Development author: Daniel Trstenjak-tested-with: GHC ==7.6.2 GHC ==7.6.3 GHC ==7.8.3+tested-with: GHC ==7.6.2 GHC ==7.6.3 GHC ==7.8.3 GHC ==7.10.1 extra-source-files:     README.md     CHANGELOG@@ -39,7 +39,7 @@     build-depends:         base >=3 && <5,         cmdargs >=0.10.5 && <0.11,-        lens >=4.0.1 && <4.8,+        lens >=4.0.1 && <4.9,         directory >=1.0 && <1.3,         strict >=0.3.2 && <0.4,         transformers >=0.3.0.0 && <0.5,@@ -77,7 +77,7 @@         base >=3 && <5,         tasty >=0.9.0.1 && <0.11,         tasty-golden >=2.2.0.2 && <2.3,-        filepath >=1.3.0.1 && <1.4,+        filepath >=1.3.0.1 && <1.5,         cabal-cargs -any     type: exitcode-stdio-1.0     main-is: Main.hs
lib/CabalCargs/CompilerArgs.hs view
@@ -1,4 +1,4 @@-{-# Language PatternGuards, TemplateHaskell, Rank2Types #-}+{-# Language PatternGuards, TemplateHaskell, Rank2Types, CPP #-}  module CabalCargs.CompilerArgs    ( CompilerArgs(..)@@ -14,10 +14,13 @@ import qualified CabalLenses as CL import Data.List (nub, foldl') import Data.Maybe (maybeToList, listToMaybe)-import Control.Applicative ((<$>)) import Control.Lens import qualified Filesystem.Path.CurrentOS as FP import Filesystem.Path ((</>))++#if __GLASGOW_HASKELL__ < 710+import Control.Applicative ((<$>))+#endif   -- | The collected compiler args from the cabal file. Till the field 'packageDB'
lib/CabalCargs/Spec.hs view
@@ -1,4 +1,4 @@-{-# Language PatternGuards #-}+{-# Language PatternGuards, CPP #-}  module CabalCargs.Spec    ( Spec(..)@@ -16,7 +16,6 @@ import Control.Monad.Trans.Either (EitherT, left, right, runEitherT) import Control.Monad.IO.Class import Control.Monad (filterM)-import Control.Applicative ((<$>)) import Control.Lens import System.Directory (getCurrentDirectory) import qualified Filesystem.Path.CurrentOS as FP@@ -26,6 +25,10 @@ import Data.List (find, isPrefixOf, (\\)) import qualified Data.List as L import Data.Maybe (isJust)++#if __GLASGOW_HASKELL__ < 710+import Control.Applicative ((<$>))+#endif   -- | Specifies which compiler args from which sections should be collected.