Remove ghc-mod.cache files before tests run

This commit is contained in:
Daniel Gröber 2014-07-22 22:54:30 +02:00
parent 459106a6d5
commit 24633f04e4
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ main = do
genGhcPkgCache dir = system $ "ghc-pkg recache --force -f" ++ dir
genSandboxCfg `mapM_` sandboxes
genGhcPkgCache `mapM_` pkgDirs
system "find test -name setup-config -exec rm {} \\;"
system "find test -name setup-config -name ghc-mod.cache -exec rm {} \\;"
system "cabal --version"
putStrLn $ "ghc-mod was built with Cabal version " ++ VERSION_Cabal
system "ghc --version"