diff options
author | David Eichmann <EichmannD@gmail.com> | 2019-04-02 10:59:12 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-04-02 12:40:39 -0400 |
commit | d132b30ad7ee73606c745ad7e0b81383eea69d0a (patch) | |
tree | 0bb4028811c582877cba91c81d87b47c33a6ddff /hadrian/src/Main.hs | |
parent | f54b5124bd449dd0d818725a5797e7aa9d9e9eba (diff) | |
download | haskell-d132b30ad7ee73606c745ad7e0b81383eea69d0a.tar.gz |
Hadrian: lint ignore autom4te and ghc-pkg cache files.
Diffstat (limited to 'hadrian/src/Main.hs')
-rw-r--r-- | hadrian/src/Main.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/hadrian/src/Main.hs b/hadrian/src/Main.hs index 11ee2334d9..34e2afe23e 100644 --- a/hadrian/src/Main.hs +++ b/hadrian/src/Main.hs @@ -44,6 +44,15 @@ main = do -- Enable linting file accesses in the build dir and ghc root dir -- (cwd) when using the `--lint-fsatrace` option. , shakeLintInside = [ cwd, buildRoot ] + , shakeLintIgnore = + -- Ignore access to the package database caches. + -- They are managed externally by the ghc-pkg tool. + [ buildRoot -/- "//package.conf.d/package.cache" + + -- Ignore access to autom4te.cache directories. + -- They are managed externally by auto tools. + , "//autom4te.cache//*" + ] } rules :: Rules () |