r-darwish / topgrade

Upgrade everything
GNU General Public License v3.0
3.37k stars 162 forks source link

Clean up OPAM directories if requested when running `topgrade` #973

Open Tyrubias opened 2 years ago

Tyrubias commented 2 years ago

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:

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.

s34m commented 1 year ago

Merged at new fork because of inactivity by maintainer.