stack-1.3.0: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Clean

Description

Clean a project.

Synopsis

Documentation

clean :: (StackM env m, HasEnvConfig env) => CleanOpts -> m () Source

Deletes build artifacts in the current project.

Throws StackCleanException.

data CleanOpts Source

Options for stack clean.

Constructors

CleanShallow [PackageName]

Delete the "dist directories" as defined in distRelativeDir for the given local packages. If no packages are given, all project packages should be cleaned.

CleanFull

Delete all work directories in the project.