shake-literate 0.1.0.0 → 0.1.0.1
raw patch · 4 files changed
+8/−10 lines, 4 filessetup-changedPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- LICENSE +1/−1
- Setup.hs +0/−2
- shake-literate.cabal +6/−6
- src/Development/Shake/Literate.hs +1/−1
LICENSE view
@@ -1,4 +1,4 @@-Copyright Vanessa McHale (c) 2018+Copyright Vanessa McHale (c) 2018-2019 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
shake-literate.cabal view
@@ -1,10 +1,10 @@ cabal-version: 1.18 name: shake-literate-version: 0.1.0.0+version: 0.1.0.1 license: BSD3 license-file: LICENSE-copyright: Copyright: (c) 2018 Vanessa McHale-maintainer: vanessa.mchale@iohk.io+copyright: Copyright: (c) 2018-2019 Vanessa McHale+maintainer: vamchale@gmail.com author: Vanessa McHale bug-reports: https://hub.darcs.net/vmchale/shake-literate/issues synopsis: Rules for building literate programs in shake@@ -36,13 +36,13 @@ base >=4.3 && <5, shake >=0.14, cpphs -any- + if flag(development) ghc-options: -Werror- + if impl(ghc >=8.0) ghc-options: -Wincomplete-uni-patterns -Wincomplete-record-updates -Wredundant-constraints -Wnoncanonical-monad-instances- + if impl(ghc >=8.4) ghc-options: -Wmissing-export-lists
src/Development/Shake/Literate.hs view
@@ -29,7 +29,7 @@ unlitA :: FilePath -- ^ Literate source file -> FilePath -- ^ Generated source -> Action ()-unlitA inF outF = liftIO (g =<< readFile inF)+unlitA inF outF = traced ("cpphs (" ++ outF ++ ")") (g =<< readFile inF) where g = writeFile outF . unlit inF literateRules :: String -- ^ File extension