From 563aa546821b1ddb4fdf87ad43cb739411f197cc Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Fri, 30 Oct 2015 21:41:54 +0100 Subject: Cleanup .ghc-mod when running tests just to be sure --- tests/Spec.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/Spec.hs b/tests/Spec.hs index ea6aff8..1294dd8 100644 --- a/tests/Spec.hs +++ b/tests/Spec.hs @@ -72,6 +72,7 @@ main = do compilePrivatePkgDb :: Version -> IO (Either ExitCode FilePath) compilePrivatePkgDb cabalVer = do + _ <- rawSystem "rm" [ "-r", "/tmp/.ghc-mod" ] db <- installCabal defaultOptions cabalVer `E.catch` \(SomeException _) -> errorInstallCabal cabalVer "dist" compileWithPkg "." (Just db) cabalVer -- cgit v1.2.3