Changes between Version 4 and Version 5 of Proposals/DependencyTrackingOutput
- Timestamp:
- Dec 18, 2018 6:32:22 PM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Proposals/DependencyTrackingOutput
v4 v5 18 18 And GHC would write the result of its dependency analysis `/tmp/pre-deps` in a structured format (presumably JSON). This analysis would compute for each module 19 19 20 * the module pragmas of that module; this includes, for instance, `{-# OPTIONS_GHC #-}` pragmas (which may, for instance, add dependencies on plugins or preprocessors) and `-plugin` pragmas 20 * the module pragmas of that module; this includes, 21 * language pragmas (which build tools like `cabal-install` might want to metadata consistency check) 22 * `{-# OPTIONS_GHC #-}` pragmas which may, add dependencies on plugins (with `-plugin`) or preprocessors (with `-pgmf`) 23 * module-level `{-# DEPRECATED #-}` pragmas 21 24 * the module's direct `import`s. These may be of two varieties: 22 25 * source files (e.g. `.hs`, `.lhs`, or `.hs-boot` files). In this case the result will include the path where the source file was found.