| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Stack.Clean
Description
Clean a project.
Synopsis
- clean :: HasBuildConfig env => CleanOpts -> RIO env ()
- data CleanOpts
- data CleanCommand
- newtype StackCleanException = NonLocalPackages [PackageName]
Documentation
clean :: HasBuildConfig env => CleanOpts -> RIO env () Source #
Deletes build artifacts in the current project.
Throws StackCleanException.
Options for stack clean.
Constructors
| CleanShallow [PackageName] | Delete the "dist directories" as defined in |
| CleanFull | Delete all work directories in the project. |
newtype StackCleanException Source #
Exceptions during cleanup.
Constructors
| NonLocalPackages [PackageName] |
Instances
| Show StackCleanException Source # | |
Defined in Stack.Clean Methods showsPrec :: Int -> StackCleanException -> ShowS # show :: StackCleanException -> String # showList :: [StackCleanException] -> ShowS # | |
| Exception StackCleanException Source # | |
Defined in Stack.Clean Methods toException :: StackCleanException -> SomeException # fromException :: SomeException -> Maybe StackCleanException # | |