include Paths_gemserv module after all

This commit is contained in:
Jonathan Lamothe 2021-10-26 12:05:56 -04:00
parent d029bee564
commit 745e761451
2 changed files with 9 additions and 5 deletions

View File

@ -29,6 +29,8 @@ library
exposed-modules: exposed-modules:
Network.GemServ Network.GemServ
Network.GemServ.Types Network.GemServ.Types
other-modules:
Paths_gemserv
hs-source-dirs: hs-source-dirs:
src src
ghc-options: -Wall ghc-options: -Wall
@ -40,12 +42,14 @@ library
, tls , tls
, x509 , x509
default-language: Haskell2010 default-language: Haskell2010
autogen-modules: Paths_gemserv
test-suite gemserv-test test-suite gemserv-test
type: exitcode-stdio-1.0 type: exitcode-stdio-1.0
main-is: Spec.hs main-is: Spec.hs
other-modules: other-modules:
Network.GemServSpec Network.GemServSpec
Paths_gemserv
hs-source-dirs: hs-source-dirs:
test test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
@ -59,3 +63,4 @@ test-suite gemserv-test
, tls , tls
, x509 , x509
default-language: Haskell2010 default-language: Haskell2010
autogen-modules: Paths_gemserv

View File

@ -32,9 +32,8 @@ dependencies:
library: library:
source-dirs: src source-dirs: src
when: &nopaths verbatim: &paths
- condition: false autogen-modules: Paths_gemserv
other-modules: Paths_gemserv
tests: tests:
gemserv-test: gemserv-test:
@ -47,5 +46,5 @@ tests:
dependencies: dependencies:
- gemserv - gemserv
- hspec >= 2.7.10 && < 2.8 - hspec >= 2.7.10 && < 2.8
when: verbatim:
- <<: *nopaths <<: *paths