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:
parent
76e690d706
commit
d029bee564
|
@ -29,8 +29,6 @@ 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
|
||||||
|
@ -48,7 +46,6 @@ test-suite gemserv-test
|
||||||
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
|
||||||
|
|
|
@ -32,6 +32,9 @@ dependencies:
|
||||||
|
|
||||||
library:
|
library:
|
||||||
source-dirs: src
|
source-dirs: src
|
||||||
|
when: &nopaths
|
||||||
|
- condition: false
|
||||||
|
other-modules: Paths_gemserv
|
||||||
|
|
||||||
tests:
|
tests:
|
||||||
gemserv-test:
|
gemserv-test:
|
||||||
|
@ -44,3 +47,5 @@ tests:
|
||||||
dependencies:
|
dependencies:
|
||||||
- gemserv
|
- gemserv
|
||||||
- hspec >= 2.7.10 && < 2.8
|
- hspec >= 2.7.10 && < 2.8
|
||||||
|
when:
|
||||||
|
- <<: *nopaths
|
Loading…
Reference in New Issue
Block a user