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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use injected XCODE_INSTALL_CACHE_DIRvariable if exist. #403

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

Conversation

makesource
Copy link

Thank you for great library 馃榾

Issue

We can specify the downloaded xcode folder with ENV["XCODE_INSTALL_CACHE_DIR"]
But when downloading not cached Xcode version, the file stored the default directory #{ENV['HOME']}/Library/Caches/XcodeInstall.
So to work local cache properly, I have to move xip file after download job done.

Proposal

If user injected XCODE_INSTALL_CACHE_DIR variable, the install job executed under this path.

Copy link
Collaborator

@rogerluan rogerluan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@makesource this small yet powerful change sounds great to me!

Could you write some documentation for this feature, to help with feature discoverability? 馃槉 Just some new docs in the README file will do 馃憣

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

Successfully merging this pull request may close these issues.

None yet

4 participants