stack-2.9.3: The Haskell Tool Stack
Safe HaskellSafe-Inferred
LanguageHaskell2010

Stack.Clean

Description

Clean a project.

Synopsis

Documentation

clean :: CleanOpts -> RIO Config () Source #

Deletes build artifacts in the current project.

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