You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any one have thoughts on adding a cabal sandbox delete-all-sources or cabal sandbox delete-sources that removes all sources from the sandbox?
On the random occasion I move or rename one of my source directories, it's easier for me to script deleting all the sources and adding all of them back in (using bash) than manually doing delete-source and add-source.
I would rather have the functionality to delete all the sources built into cabal since my bash script is brittle due to parsing cabal sandbox list-sources's output. I'm willing to attempt a PR.
The text was updated successfully, but these errors were encountered:
danclien
changed the title
Add a cabal sandbox delete-all-sources
Add an option to delete all sources from a sandbox
Mar 8, 2015
AFAICT this would be somewhat at odds with #2631 in that we surely don't want to add even more ways to mutate the state of sandboxes -- thus making for even more edge cases, etc. It seems to me that #2631 is moving towards a less stateful model where Cabal will itself pick up whatever sources you have and "do the right thing"(TM).
Any one have thoughts on adding a
cabal sandbox delete-all-sources
orcabal sandbox delete-sources
that removes all sources from the sandbox?On the random occasion I move or rename one of my source directories, it's easier for me to script deleting all the sources and adding all of them back in (using
bash
) than manually doingdelete-source
andadd-source
.I would rather have the functionality to delete all the sources built into
cabal
since mybash
script is brittle due to parsingcabal sandbox list-sources
's output. I'm willing to attempt a PR.The text was updated successfully, but these errors were encountered: