Carthage / Carthage

A simple, decentralized dependency manager for Cocoa
Other
14.94k stars 1.55k forks source link

Cleanup command #902

Open nanoxd opened 8 years ago

nanoxd commented 8 years ago

Thanks for all the hard work on this project :smile:.

I searched but couldn't find a feature request for this yet :eyeglasses:

With the addition of generating bcsymbolmap files, I've seen an influx of things in my Carthage build folders. Before the introduction of the bcsymbolmap files, it was easy to go in there myself and delete the files. That is no longer the case with symbol maps using a UUID unless you remove the entire Carthage folder and run carthage bootstrap

I suggest an additional command be added to cleanup files for when a user wants to remove the files from their Carthage build/checkout folders that targets the .framework, .bcsymbolmap, and .dSYM artifacts.

ffittschen commented 8 years ago

I totally agree! Since the addition of the bcsymbolmap files the folder looks like a mess... The Carthage/Build folder is on my .gitignore but I still like to have things clean in the repo.

The deletion of unneeded files should be automated...

screen shot 2016-04-14 at 10 09 53
mdiep commented 8 years ago

Maybe Carthage should delete old .bcsymbolmaps when building?

ffittschen commented 8 years ago

@mdiep This would be perfect 👍🏻 If you use carthage build without the specification of a project, all .bcsymbolmaps should be deleted, but if you use e.g. carthage build Alamofire it should just delete the corresponding .bcsymbolmap

BProg commented 7 years ago

I would also need this feature for cleanup bcsymbolmap files because we keep them in git, so someone who downloads the project don't need to use carthage for the project to run. A cleanup command will be very handy

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

ikesyo commented 6 years ago

There is a ongoing PR #2333.

ravitripathi commented 4 years ago

Is this still being worked on?

idanzhu commented 4 years ago

not find out command carthage cleanup, it had been merged ?

ravitripathi commented 4 years ago

It has been merged, but carthage cleanup doesn't work as of 0.34.0.

yourshinsuke commented 4 years ago

@ravitripathi me too. When??

ravitripathi commented 4 years ago

@yourshinsuke no clue. It seems like the feature was never exposed. Weird. We ended up commit those bsymbolmaps too along with the framework files after updating.