Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Clean up OPAM directories if requested when running topgrade #973

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Tyrubias
Copy link

OPAM has a built-in clean command that automatically
removes download caches, logs, and cleans the current
OPAM switch. We should call opam clean when the
cleanup flag is set.

Standards checklist:

  • The PR title is descriptive.
  • The code compiles (cargo build)
  • The code passes rustfmt (cargo fmt)
  • The code passes clippy (cargo clippy)
  • The code passes tests (cargo test)
  • Optional: I have tested the code myself
    • I also tested that Topgrade skips the step where needed

If you developed a feature or a bug fix for someone else and you do not have the
means to test it, please tag this person here.

OPAM has a built-in `clean` command that automatically
removes download caches, logs, and cleans the current
OPAM switch. We should call `opam clean` when the
cleanup flag is set.
@r-darwish r-darwish enabled auto-merge (squash) July 12, 2022 05:18
@s34m
Copy link

s34m commented Oct 11, 2022

Merged at new fork because of inactivity by maintainer.

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants