stack-2.1.1.1: The Haskell Tool Stack

Safe HaskellNone
LanguageHaskell2010

Stack.Clean

Description

Clean a project.

Synopsis

Documentation

clean :: HasBuildConfig env => CleanOpts -> RIO env () 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.

data CleanCommand Source #

Clean commands

Constructors

Clean 
Purge