stack-hpc-coveralls 0.0.0.3 → 0.0.0.4
raw patch · 4 files changed
+9/−7 lines, 4 filesdep ~filepathdep ~lensdep ~utf8-string
Dependency ranges changed: filepath, lens, utf8-string, wreq
Files
- app/Main.hs +1/−0
- src/SHC/Api.hs +1/−0
- src/SHC/Coveralls.hs +2/−2
- stack-hpc-coveralls.cabal +5/−5
app/Main.hs view
@@ -6,6 +6,7 @@ import Data.Maybe (isJust) import Data.Aeson (encode) import qualified Data.ByteString.Lazy as BSL+import Control.Applicative (pure, (<$>), (<*>)) import Control.Concurrent (threadDelay) import System.Console.Docopt import System.Environment (getArgs, getEnv, getEnvironment)
src/SHC/Api.hs view
@@ -9,6 +9,7 @@ import qualified Data.ByteString as BS import qualified Data.ByteString.Lazy as LBS import Codec.Binary.UTF8.String (decode)+import Control.Applicative ((<$>)) import Control.Lens import Network.Wreq import Network.HTTP.Client (RequestBody(RequestBodyLBS))
src/SHC/Coveralls.hs view
@@ -52,7 +52,7 @@ Irrelevant -> Null looseConverter :: LixConverter-looseConverter = map $ \lix -> case lix of+looseConverter = map $ \case Full -> Number 2 Partial -> Number 1 None -> Number 0@@ -107,7 +107,7 @@ -- | Create a list of coverage data from the tix input readCoverageData :: Config -> String -> IO TestSuiteCoverageData readCoverageData conf suite = do- let tixPath = hpcDir conf </> "tix" </> suite </> getTixFileName suite+ let tixPath = hpcDir conf </> suite </> getTixFileName suite mTix <- readTix tixPath case mTix of Nothing -> putStrLn ("Couldn't find the file " ++ tixPath) >>
stack-hpc-coveralls.cabal view
@@ -1,5 +1,5 @@ name: stack-hpc-coveralls-version: 0.0.0.3+version: 0.0.0.4 synopsis: Initial project template from stack description: Please see README.md homepage: http://github.com/rubik/stack-hpc-coveralls@@ -25,19 +25,19 @@ SHC.Api build-depends: base >=4.7 && <5 , hpc >=0.6- , filepath >=1.4+ , filepath >=1.3 , process >=1.2 , pureMD5 >=2.1 , containers >=0.5 , aeson >=0.8 , bytestring >=0.10- , utf8-string >=1.0+ , utf8-string >=1 , text >=1.2 , directory >=1.2 , directory-tree >=0.12- , wreq >=0.4+ , wreq >=0.3 , http-client >=0.4- , lens >=4.12+ , lens >=4.7 , lens-aeson >=1.0 , safe >=0.3 default-language: Haskell2010