cabal fix

This removes the Paths_gemserv package from other-modules. Finding a
way to add it to autogen-modules would be preferable.
This commit is contained in:
Jonathan Lamothe 2021-10-26 11:55:12 -04:00
parent 76e690d706
commit d029bee564
2 changed files with 5 additions and 3 deletions

View File

@ -29,8 +29,6 @@ library
exposed-modules:
Network.GemServ
Network.GemServ.Types
other-modules:
Paths_gemserv
hs-source-dirs:
src
ghc-options: -Wall
@ -48,7 +46,6 @@ test-suite gemserv-test
main-is: Spec.hs
other-modules:
Network.GemServSpec
Paths_gemserv
hs-source-dirs:
test
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N

View File

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