on master help sign in
Fix ‘data-files’ field in the Cabal file

Apparently the situation here is quite broken because we need to list all sub-directories explicitly, here is a Cabal issue: https://github.com/haskell/cabal/issues/6043

commit759c2c685427e0f34589d8a205d3109aebf487f4 authormrkkrp <mark.karpov@tweag.io> dateFri 10 May 2019, 16:00 (7 years ago) parent0d558f1
1 file changed+9−1
ormolu.cabal+9−1
ormolu.cabal+9−1
@@ -13,7 +13,15 @@ build-type: Simple
1313description: A formatter for Haskell source code.
1414extra-doc-files: CHANGELOG.md
1515 , README.md
16−data-files: data/examples/module-header/*.hs
16+data-files: data/examples/declaration/data/*.hs
17+ , data/examples/declaration/data/gadt/*.hs
18+ , data/examples/declaration/type-families/closed-type-family/*.hs
19+ , data/examples/declaration/type-families/data-family/*.hs
20+ , data/examples/declaration/type-families/type-family/*.hs
21+ , data/examples/declaration/type-synonyms/*.hs
22+ , data/examples/import/*.hs
23+ , data/examples/module-header/*.hs
24+ , data/examples/other/*.hs
1725 , data/printer/*.hs
1826
1927source-repository head