Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to cache multiple projects in the same Bucket? #42

Closed
samuelbeek opened this issue Aug 9, 2017 · 2 comments
Closed

Is it possible to cache multiple projects in the same Bucket? #42

samuelbeek opened this issue Aug 9, 2017 · 2 comments

Comments

@samuelbeek
Copy link

We want to use carthage_cache across all our projects. Is it possible to use the same bucket for all of them or should we use one bucket per project?

Cheers,
Sam

@guidomb
Copy link

guidomb commented Aug 9, 2017

Hi Sam, yes it is possible and recommended to do so. Carthage cache uses a digest of the Cartfile.resovled + version of the compiler to define the cache key. If your projects share the same compiler and Cartfile.resolved files cache will be reused between projects.

Just take into account that Carthage cache does not cache at the dependency level so if Cartfile.resolved files don't match you won't be able to share caches between projects. More on this in #35 and #12

@samuelbeek
Copy link
Author

Thanks, super clear 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants