File: clean_command.md

package info (click to toggle)
haskell-stack 2.15.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,568 kB
  • sloc: haskell: 37,057; makefile: 6; ansic: 5
file content (21 lines) | stat: -rw-r--r-- 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="hidden-warning"><a href="https://docs.haskellstack.org/"><img src="https://cdn.jsdelivr.net/gh/commercialhaskell/stack/doc/img/hidden-warning.svg"></a></div>

# The `stack clean` command

Either

~~~text
stack clean [PACKAGE]
~~~

or

~~~text
stack clean --full
~~~

`stack clean` deletes build artefacts for one or more project packages specified
as arguments. If no project packages are specified, all project packages are
cleaned.

`stack clean --full` deletes the project's Stack working directory.