Safe Haskell | None |
---|---|
Language | Haskell2010 |
Clean a project.
- clean :: (StackM env m, HasEnvConfig env) => CleanOpts -> m ()
- data CleanOpts
- newtype StackCleanException = NonLocalPackages [PackageName]
Documentation
clean :: (StackM env m, HasEnvConfig env) => CleanOpts -> m () Source
Deletes build artifacts in the current project.
Throws StackCleanException
.
Options for stack clean
.
CleanShallow [PackageName] | Delete the "dist directories" as defined in |
CleanFull | Delete all work directories in the project. |
newtype StackCleanException Source
Exceptions during cleanup.