Remove ghc-mod.cache files before tests run
This commit is contained in:
parent
459106a6d5
commit
24633f04e4
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user