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

View File

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