Commit e93f7a41 authored by Andrey Mokhov's avatar Andrey Mokhov
Browse files

Drop redundant clean up after ghc-cabal

See #113
parent 94c88da1
module Rules.Clean (cleanRules) where
import Base
import Package
import Settings
import Settings.Path
import Stage
import UserSettings
......@@ -16,10 +14,6 @@ cleanRules = do
removeDirectory programInplacePath
removeDirectory "inplace/lib"
removeDirectory "sdistprep"
putBuild $ "| Remove files generated by ghc-cabal..."
forM_ knownPackages $ \pkg ->
forM_ [Stage0 ..] $ \stage ->
quietly . removeDirectory $ pkgPath pkg -/- stageDirectory stage
putBuild $ "| Remove Hadrian files..."
removeFilesAfter buildRootPath ["//*"]
putSuccess $ "| Done. "
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment