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

Specify the 'downloads' directory #327

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

Conversation

golirev
Copy link

@golirev golirev commented Jun 5, 2016

I added a way to specify the folder to place downloaded files.

You can share a "downloads" folder with multiple windows installer build instances
without copying from one instance to another.

rake DOWNLOADS="c:\downloads" # specify the folder to place downloaded files, absolute/relative

In addition above, I added the ability to handle dependency files
more properly in multi-toolchain.

Download a set of dependency files from distinguished URL path
and store them under the "downloads" sub-directory separately.

config/compilers/mingw64.rb is just a sample.
You'll fail in downloading the dependency files, since there aren't such files.

:knap_path value is used for separation.

download_path = RubyInstaller::DOWNLOADS
if compiler.knap_path
download_path = "#{download_path}/#{compiler.knap_path}"
end

Copy link
Member

Choose a reason for hiding this comment

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

Could you clean up the tabs in this file?

Copy link
Author

Choose a reason for hiding this comment

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

I modified the indent.
Thank you.

@Azolo
Copy link
Member

Azolo commented Jul 15, 2016

It looks promising!

@Azolo
Copy link
Member

Azolo commented Jul 16, 2016

I'm in the middle of getting some other stuff together, so give me a couple days and I'll look at it more closely. =)

And deal multi-toolchain dependent files properly
@ghost
Copy link

ghost commented Jun 13, 2019

may need updating the software versions.

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

3 participants