⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

stack-clean-old purge-older may say nothing #6

@andreasabel

Description

@andreasabel

I am getting

$ stack-clean-old purge-older --dry-run
$

Would be nice if I was told explicitly that there is nothing to purge, or a list of what would be purged.

Btw, I wrote something similar (but less feature-rich) for cabal, see https://github.com/andreasabel/cabal-clean.

I made --dry-run is the default. If you call it without arguments, you get a list of all build artefacts that are there, in green color those that will be kept, in red color those that would be deleted. To remove stuff, you have to supply option --remove/--delete.

Maybe such an interface would also work for stack-clean-old.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions