[Git][ghc/ghc][master] Hadrian: don't fail if ghc-tarballs dir doesn't exist

Marge Bot gitlab at gitlab.haskell.org
Tue Nov 3 22:41:55 UTC 2020



 Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
3486ebe6 by Sylvain Henry at 2020-11-03T17:41:48-05:00
Hadrian: don't fail if ghc-tarballs dir doesn't exist

- - - - -


1 changed file:

- hadrian/src/Rules/Clean.hs


Changes:

=====================================
hadrian/src/Rules/Clean.hs
=====================================
@@ -22,7 +22,7 @@ cleanSourceTree = do
 
 cleanMingwTarballs :: Action ()
 cleanMingwTarballs = do
-    liftIO $ IO.removeDirectoryRecursive "ghc-tarballs"
+    removeDirectory "ghc-tarballs"
 
 -- Clean all temporary fs files copied by configure into the source folder
 cleanFsUtils :: Action ()



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3486ebe6f960cc55d52c1e645ee15fdeb277d0ab

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/3486ebe6f960cc55d52c1e645ee15fdeb277d0ab
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20201103/58211358/attachment.html>


More information about the ghc-commits mailing list