зеркало из https://github.com/github/ruby.git
Added refresh-gems
Refreshes bundled gems to the latest version, and extracts them.
This commit is contained in:
Родитель
7391db4ab3
Коммит
f1d4216bd9
|
@ -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))),)
|
||||
|
|
Загрузка…
Ссылка в новой задаче