stack-0.1.10.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Clean

Description

Clean a project.

Synopsis

Documentation

clean :: (MonadThrow m, MonadIO m, MonadReader env m, HasEnvConfig env, MonadLogger m) => CleanOpts -> m () Source

Reset the build, i.e. remove the dist directory (for example .stack-work/dist/x84_64-linux/Cabal-1.22.4.0) for all targets.

Throws StackCleanException.

newtype CleanOpts Source

Options for cleaning a project.

Constructors

CleanOpts 

Fields