diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-28 02:54:59 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-28 02:54:59 +0000 |
commit | 3bbea8ed37278c9cc584bb25624eee05efebb117 (patch) | |
tree | b473eeb7f4a4c8db2038c7759de327bb051a45e8 /common.mk | |
parent | ceb32c67a09d30b579089fa626cc6a2e0ecdb0a2 (diff) | |
download | ruby-3bbea8ed37278c9cc584bb25624eee05efebb117.tar.gz |
tool/downloader.rb: split particular sites
* tool/downloader.rb (Downloader): split particular sites from the
main class.
* tool/downloader.rb (Downloader.download): show messages if
verbose mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1082,19 +1082,20 @@ $(srcdir)/tool/config.sub: $(Q) $(BASERUBY) -C $(@D) get-config_files $(@F) update-gems: PHONY - $(Q) $(RUNRUBY) -I$(srcdir)/tool -rdownloader -ans \ + $(ECHO) Downloading bundled gem files... + $(Q) $(RUNRUBY) -I$(srcdir)/tool -rdownloader -answ \ + -C "$(srcdir)/gems" \ -e 'gem, ver = *$$F' \ -e 'gem = "#{gem}-#{ver}.gem"' \ - -e 'puts "updating #{gem}"' \ - -e 'Downloader.download(:rubygems, gem, $$gemdir)' \ - -- -gemdir=$(srcdir)/gems $(srcdir)/gems/bundled_gems + -e 'Downloader::RubyGems.download(gem)' \ + bundled_gems update-unicode: - $(Q) $(BASERUBY) -I$(srcdir)/tool -rdownloader \ - -e 'puts "Downloading Unicode data files..."' \ - -e 'Downloader.download(:unicode, "UnicodeData.txt", "$(srcdir)/enc/unicode/data")' \ - -e 'Downloader.download(:unicode, "CompositionExclusions.txt", "$(srcdir)/enc/unicode/data")' \ - -e 'Downloader.download(:unicode, "NormalizationTest.txt", "$(srcdir)/enc/unicode/data")' + $(ECHO) Downloading Unicode data files... + $(Q) $(BASERUBY) -I$(srcdir)/tool -rdownloader -w \ + -C "$(srcdir)/enc/unicode/data" \ + -e 'ARGV.each{|f|Downloader::Unicode.download(f)}' \ + UnicodeData.txt CompositionExclusions.txt NormalizationTest.txt info: info-program info-libruby_a info-libruby_so info-arch info-program: |