mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Added refresh-gems
Refreshes bundled gems to the latest version, and extracts them.
This commit is contained in:
parent
7391db4ab3
commit
f1d4216bd9
2 changed files with 10 additions and 1 deletions
|
@ -1243,6 +1243,8 @@ update-config_files: PHONY
|
|||
$(Q) $(BASERUBY) -C "$(srcdir)" tool/downloader.rb -d tool --cache-dir=$(CACHE_DIR) -e gnu \
|
||||
config.guess config.sub
|
||||
|
||||
refresh-gems: update-bundled_gems update-gems extract-gems
|
||||
|
||||
update-gems: PHONY
|
||||
$(ECHO) Downloading bundled gem files...
|
||||
$(Q) $(BASERUBY) -C "$(srcdir)" \
|
||||
|
|
|
@ -241,8 +241,15 @@ HELP_EXTRA_TASKS = \
|
|||
" update-github: merge master branch and push it to Pull Request [PR=1234]" \
|
||||
""
|
||||
|
||||
ifeq ($(words $(filter update-gems extract-gems,$(MAKECMDGOALS))),2)
|
||||
ifneq ($(filter refresh-gems,$(MAKECMDGOALS)),)
|
||||
extract-gems: update-gems
|
||||
update-gems: update-bundled_gems
|
||||
endif
|
||||
ifneq ($(filter extract-gems,$(MAKECMDGOALS)),)
|
||||
extract-gems: $(filter update-gems update-bundled_gems,$(MAKECMDGOALS))
|
||||
endif
|
||||
ifneq ($(filter update-gems,$(MAKECMDGOALS)),)
|
||||
update-gems: $(filter update-bundled_gems,$(MAKECMDGOALS))
|
||||
endif
|
||||
|
||||
ifeq ($(filter 0 1,$(words $(arch_flags))),)
|
||||
|
|
Loading…
Reference in a new issue