diff options
author | fozworth <> | 2019-11-08 13:40:00 (GMT) |
---|---|---|
committer | hdiff <hdiff@hdiff.luite.com> | 2019-11-08 13:40:00 (GMT) |
commit | 7092518b88485077b375f77f3f4814d72de6010a (patch) | |
tree | 6fe19a0c19fec84f00b88df1a9cbc01cad64c9e0 | |
parent | ece98ae6c7a98a4f5649a6841eb1b3828e44c2de (diff) |
version 1.1.151.1.15
-rw-r--r-- | autoexporter.cabal | 8 | ||||
-rw-r--r-- | library/Autoexporter.hs | 3 | ||||
-rw-r--r-- | package.yaml | 4 |
3 files changed, 8 insertions, 7 deletions
diff --git a/autoexporter.cabal b/autoexporter.cabal index 9eeb504..3ec054c 100644 --- a/autoexporter.cabal +++ b/autoexporter.cabal @@ -4,10 +4,10 @@ cabal-version: 1.12 -- -- see: https://github.com/sol/hpack -- --- hash: 990227a36c366ea2b4368939a62db962423f1fb81806ed9a7731911a5d75b1cb +-- hash: 4fa32db9ef6ee238c2d30fcffa7e48b8dcea993f0fb5d7959896c35631d81538 name: autoexporter -version: 1.1.14 +version: 1.1.15 synopsis: Automatically re-export modules. description: Autoexporter automatically re-exports modules. category: Utility @@ -37,7 +37,7 @@ library ghc-options: -Weverything -Wno-implicit-prelude -Wno-safe -Wno-unsafe build-depends: Cabal >=1.24.0 && <1.25 || >=2.0.1 && <2.5 || >=3.0.0 && <3.1 - , base >=4.9.0 && <4.13 + , base >=4.9.0 && <4.14 , directory >=1.2.6 && <1.4 , filepath >=1.4.1 && <1.5 default-language: Haskell2010 @@ -52,7 +52,7 @@ executable autoexporter build-depends: Cabal >=1.24.0 && <1.25 || >=2.0.1 && <2.5 || >=3.0.0 && <3.1 , autoexporter - , base >=4.9.0 && <4.13 + , base >=4.9.0 && <4.14 , directory >=1.2.6 && <1.4 , filepath >=1.4.1 && <1.5 default-language: Haskell2010 diff --git a/library/Autoexporter.hs b/library/Autoexporter.hs index 75fa135..2c0c0c8 100644 --- a/library/Autoexporter.hs +++ b/library/Autoexporter.hs @@ -105,7 +105,8 @@ isHaskellFile x = List.isSuffixOf ".hs" x || List.isSuffixOf ".lhs" x renderModule :: String -> [String] -> String renderModule name modules = unlines' - [ unwords ["module", name, "("] + [ "{-# OPTIONS_GHC -fno-warn-dodgy-exports -fno-warn-unused-imports #-}" + , unwords ["module", name, "("] , unlines' (map renderExport modules) , ") where" , unlines' (map renderImport modules) diff --git a/package.yaml b/package.yaml index 21467c0..e881513 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: autoexporter -version: 1.1.14 +version: 1.1.15 category: Utility description: Autoexporter automatically re-exports modules. @@ -15,7 +15,7 @@ maintainer: Taylor Fausak synopsis: Automatically re-export modules. dependencies: - base: '>= 4.9.0 && < 4.13' + base: '>= 4.9.0 && < 4.14' Cabal: '>= 1.24.0 && < 1.25 || >= 2.0.1 && < 2.5 || >= 3.0.0 && < 3.1' directory: '>= 1.2.6 && < 1.4' filepath: '>= 1.4.1 && < 1.5' |