mirror of
https://github.com/serokell/xrefcheck.git
synced 2024-09-11 13:37:36 +03:00
Mention 'Path_* module in
package.yaml`
Problem: after we started using mixins feature, generated .cabal file requires cabal 2.0. Attempt to upload our package to Hackage now reports an error, saying that `autogen-modules` section have to mention `Path_*` files. Solution: add `Paths_xrefcheck` to `generated-other-modules` section of `package.yaml`.
This commit is contained in:
parent
41e742a784
commit
eb98aa70e4
@ -94,10 +94,15 @@ dependencies:
|
||||
library:
|
||||
source-dirs: src
|
||||
|
||||
generated-other-modules:
|
||||
- Paths_xrefcheck
|
||||
|
||||
executables:
|
||||
xrefcheck:
|
||||
main: Main.hs
|
||||
source-dirs: exec
|
||||
generated-other-modules:
|
||||
- Paths_xrefcheck
|
||||
ghc-options:
|
||||
- -threaded
|
||||
- -rtsopts
|
||||
@ -110,6 +115,8 @@ tests:
|
||||
xrefcheck-tests:
|
||||
main: Main.hs
|
||||
source-dirs: tests
|
||||
generated-other-modules:
|
||||
- Paths_xrefcheck
|
||||
dependencies:
|
||||
- xrefcheck
|
||||
- hspec
|
||||
|
Loading…
Reference in New Issue
Block a user