hpc-codecov 0.6.0.0 → 0.6.1.0
raw patch · 5 files changed
+20/−5 lines, 5 filesdep ~filepathPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: filepath
API changes (from Hackage documentation)
Files
- CHANGELOG.md +6/−0
- hpc-codecov.cabal +2/−2
- src/Trace/Hpc/Codecov/Report/Emit.hs +5/−1
- src/Trace/Hpc/Codecov/Report/Entry.hs +6/−1
- test/data/project1/stack.yaml +1/−1
CHANGELOG.md view
@@ -1,5 +1,11 @@ # Revision history for hpc-codecov +## 0.6.1.0 -- 2024-05-29++- Suppress warning messages when compiling with ghc 9.10.++- Modify version range of filepath to support 1.5.x.+ ## 0.6.0.0 -- 2024-04-26 - Add "--expr-only" option. This option will ignore other constructor
hpc-codecov.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.0 name: hpc-codecov-version: 0.6.0.0+version: 0.6.1.0 synopsis: Generate reports from hpc data license: BSD3 license-file: LICENSE@@ -86,7 +86,7 @@ , bytestring >= 0.10 && < 0.13 , containers >= 0.6 && < 0.8 , directory >= 1.3.0 && < 1.4.0- , filepath >= 1.4.1 && < 1.5+ , filepath >= 1.4.1 && < 1.6 , hpc >= 0.6 && < 0.8 , time >= 1.9 && < 1.13 default-language: Haskell2010
src/Trace/Hpc/Codecov/Report/Emit.hs view
@@ -17,9 +17,13 @@ -- base import Data.Char (isUpper)-import Data.List (foldl', intercalate,+import Data.List (intercalate, intersperse) import System.IO.Unsafe (unsafePerformIO)++#if !MIN_VERSION_base(4,20,0)+import Data.List (foldl')+#endif #if !MIN_VERSION_bytestring(0,11,0) import Text.Printf (printf)
src/Trace/Hpc/Codecov/Report/Entry.hs view
@@ -1,4 +1,5 @@ -- |+{-# LANGUAGE CPP #-} -- Module: Trace.Hpc.Codecov.Report.Entry -- Copyright: (c) 2023 8c6794b6 -- License: BSD3@@ -25,8 +26,12 @@ import Control.Monad (when) import Control.Monad.ST (ST) import Data.Function (on)-import Data.List (foldl', intercalate)+import Data.List (intercalate) import System.IO (hPutStrLn, stderr)++#if !MIN_VERSION_base(4,20,0)+import Data.List (foldl')+#endif -- array import Data.Array.Base (unsafeAt)
test/data/project1/stack.yaml view
@@ -17,7 +17,7 @@ # # resolver: ./custom-snapshot.yaml # resolver: https://example.com/snapshots/2018-01-01.yaml-resolver: lts-22.18+resolver: lts-22.23 # User packages to be built. # Various formats can be used as shown in the example below.