mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
27 lines
1.0 KiB
Plaintext
27 lines
1.0 KiB
Plaintext
|
{ roots =
|
||
|
[ -- All the executables (including tests) have an entrypoint called
|
||
|
-- `Main.main`, which means that Weeder will run for any package that has
|
||
|
-- been built (_as long as_ it is built with `-fwrite-ide-info`).
|
||
|
"^Main.main$"
|
||
|
|
||
|
-- Modules generated by Cabal. These are, according to Weeder repository
|
||
|
-- tips, safe to ignore: https://github.com/ocharles/weeder/#tips
|
||
|
, "^Paths_.*"
|
||
|
|
||
|
-- "Library" modules that may one day be released as standalone OSS
|
||
|
-- things. While these functions may not all be used, they're still worth
|
||
|
-- keeping around until this module is extracted from the monorepo.
|
||
|
, "^Control.Arrow.Extended.*"
|
||
|
, "^Data.HashMap.Strict.NonEmpty.*"
|
||
|
|
||
|
-- Debugging functions. They are not entry points, but if we include them
|
||
|
-- as such, Weeder won't try to get rid of the definitions.
|
||
|
--
|
||
|
-- https://github.com/ocharles/weeder/pull/58
|
||
|
, "^Hasura.Prelude.ltrace$"
|
||
|
, "^Hasura.Prelude.ltraceM$"
|
||
|
]
|
||
|
|
||
|
, type-class-roots = True
|
||
|
}
|