packages feed

sydtest-discover 0.0.0.0 → 0.0.0.1

raw patch · 3 files changed

+14/−4 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

+ CHANGELOG.md view
@@ -0,0 +1,7 @@+# [0.0.0.1] 2021-11-12++## Changed++* Made the export list of the generated module explicit.++# [0.0.0.0] Initial version
src/Test/Syd/Discover.hs view
@@ -127,7 +127,8 @@ makeSpecModule :: Settings -> Path Rel File -> [SpecModule] -> String makeSpecModule Settings {..} destination sources =   unlines-    [ if settingMain then "" else moduleDeclaration (makeModuleName destination),+    [ "{-# OPTIONS_GHC -fno-warn-missing-signatures -fno-warn-unused-imports #-}",+      if settingMain then "" else moduleDeclaration (makeModuleName destination),       "",       "import Test.Syd",       "import qualified Prelude",@@ -138,7 +139,7 @@     ]  moduleDeclaration :: String -> String-moduleDeclaration mn = unwords ["module", mn, "where"]+moduleDeclaration mn = unwords ["module", mn, "(spec) where"]  mainDeclaration :: String mainDeclaration =@@ -153,7 +154,6 @@ specDeclaration :: [SpecModule] -> String specDeclaration fs =   unlines $-    "spec :: Spec" :     if null fs       then ["spec = Prelude.pure ()"]       else
sydtest-discover.cabal view
@@ -5,7 +5,7 @@ -- see: https://github.com/sol/hpack  name:           sydtest-discover-version:        0.0.0.0+version:        0.0.0.1 synopsis:       Automatic test suite discovery for sydtest category:       Testing homepage:       https://github.com/NorfairKing/sydtest#readme@@ -16,6 +16,9 @@ license:        OtherLicense license-file:   LICENSE.md build-type:     Simple+extra-source-files:+    LICENSE.md+    CHANGELOG.md  source-repository head   type: git