packages feed

sydtest-discover 0.0.0.1 → 0.0.0.2

raw patch · 3 files changed

+19/−6 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,7 +1,15 @@-# [0.0.0.1] 2021-11-12+# Changelog -## Changed+## [0.0.0.2] - 2022-08-05 +### Changed++* Use local warnings in generated code++## [0.0.0.1] - 2021-11-12++### Changed+ * Made the export list of the generated module explicit. -# [0.0.0.0] Initial version+## [0.0.0.0] - Initial version
src/Test/Syd/Discover.hs view
@@ -127,7 +127,12 @@ makeSpecModule :: Settings -> Path Rel File -> [SpecModule] -> String makeSpecModule Settings {..} destination sources =   unlines-    [ "{-# OPTIONS_GHC -fno-warn-missing-signatures -fno-warn-unused-imports #-}",+    [ -- We use "-w -Wall" to first turn off all warnings and then turn on+      -- specific ones we want.+      -- This allows globally set warnings to fail on this module without+      -- failing the build.+      -- See also https://github.com/NorfairKing/sydtest/issues/54+      "{-# OPTIONS_GHC -w -Wall -fno-warn-missing-signatures -fno-warn-unused-imports #-}",       if settingMain then "" else moduleDeclaration (makeModuleName destination),       "",       "import Test.Syd",
sydtest-discover.cabal view
@@ -1,11 +1,11 @@ cabal-version: 1.12 --- This file has been generated from package.yaml by hpack version 0.34.4.+-- This file has been generated from package.yaml by hpack version 0.34.7. -- -- see: https://github.com/sol/hpack  name:           sydtest-discover-version:        0.0.0.1+version:        0.0.0.2 synopsis:       Automatic test suite discovery for sydtest category:       Testing homepage:       https://github.com/NorfairKing/sydtest#readme