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:
|
library:
|
||||||
source-dirs: src
|
source-dirs: src
|
||||||
|
|
||||||
|
generated-other-modules:
|
||||||
|
- Paths_xrefcheck
|
||||||
|
|
||||||
executables:
|
executables:
|
||||||
xrefcheck:
|
xrefcheck:
|
||||||
main: Main.hs
|
main: Main.hs
|
||||||
source-dirs: exec
|
source-dirs: exec
|
||||||
|
generated-other-modules:
|
||||||
|
- Paths_xrefcheck
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -threaded
|
- -threaded
|
||||||
- -rtsopts
|
- -rtsopts
|
||||||
@ -110,6 +115,8 @@ tests:
|
|||||||
xrefcheck-tests:
|
xrefcheck-tests:
|
||||||
main: Main.hs
|
main: Main.hs
|
||||||
source-dirs: tests
|
source-dirs: tests
|
||||||
|
generated-other-modules:
|
||||||
|
- Paths_xrefcheck
|
||||||
dependencies:
|
dependencies:
|
||||||
- xrefcheck
|
- xrefcheck
|
||||||
- hspec
|
- hspec
|
||||||
|
Loading…
Reference in New Issue
Block a user