1- cabal-version : 2.0
1+ cabal-version : 2.2
22name : hslua-module-doclayout
33version : 1.0.4
44synopsis : Lua module wrapping Text.DocLayout.
@@ -28,14 +28,15 @@ source-repository head
2828 type : git
2929 location : https://github.com/hslua/hslua-module-doclayout.git
3030
31- library
32- build-depends : base >= 4.9 && < 5
33- , doclayout >= 0.2 && < 0.5
34- , hslua >= 2.1 && < 2.3
35- , text >= 1.0 && < 1.3
31+ common common-options
32+ build-depends : base >= 4.9 && < 5
33+ , doclayout >= 0.2 && < 0.5
34+ , hslua >= 2.1 && < 2.3
35+ , text >= 1.2 && < 2.1
36+
3637 default-language : Haskell2010
37- hs-source-dirs : src
38- exposed-modules : HsLua.Module.DocLayout
38+ other-extensions : OverloadedStrings
39+ , TypeApplications
3940 ghc-options : -Wall
4041 -Wcompat
4142 -Widentities
@@ -51,33 +52,22 @@ library
5152 if impl(ghc >= 8.8 )
5253 ghc-options : -Wmissing-deriving-strategies
5354
55+ library
56+ import : common-options
57+ hs-source-dirs : src
58+ exposed-modules : HsLua.Module.DocLayout
59+ other-extensions : CPP
60+ , FlexibleInstances
61+ , LambdaCase
62+
5463test-suite hslua-module-doclayout-test
55- build-depends : base >= 4.9 && < 5
56- , doclayout >= 0.2 && < 0.5
57- , hslua
58- , hslua-module-doclayout
64+ import : common-options
65+ build-depends : hslua-module-doclayout
5966 , tasty
6067 , tasty-hunit
6168 , tasty-lua >= 1.0 && < 1.1
6269 type : exitcode-stdio-1.0
6370 hs-source-dirs : test
6471 main-is : test-hslua-module-doclayout.hs
6572 build-depends : hslua-module-doclayout
66- default-language : Haskell2010
67- ghc-options : -threaded
68- -rtsopts
69- -with-rtsopts=-N
70- -Wall
71- -Wcompat
72- -Widentities
73- -Wincomplete-uni-patterns
74- -Wincomplete-record-updates
75- if impl(ghc >= 8.0 )
76- ghc-options : -Wredundant-constraints
77- if impl(ghc >= 8.2 )
78- ghc-options : -fhide-source-paths
79- if impl(ghc >= 8.4 )
80- ghc-options : -Wmissing-export-lists
81- -Wpartial-fields
82- if impl(ghc >= 8.8 )
83- ghc-options : -Wmissing-deriving-strategies
73+ ghc-options : -threaded
0 commit comments