mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add prepare-gems to download and extract bundled gems
This commit is contained in:
parent
de10631dcf
commit
289bdb64d9
2 changed files with 6 additions and 6 deletions
|
@ -1273,7 +1273,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
|
||||
refresh-gems: update-bundled_gems prepare-gems
|
||||
prepare-gems: update-gems extract-gems
|
||||
|
||||
update-gems: PHONY
|
||||
$(ECHO) Downloading bundled gem files...
|
||||
|
|
|
@ -243,14 +243,13 @@ HELP_EXTRA_TASKS = \
|
|||
" update-github: merge master branch and push it to Pull Request [PR=1234]" \
|
||||
""
|
||||
|
||||
ifneq ($(filter refresh-gems,$(MAKECMDGOALS)),)
|
||||
ifneq ($(filter extract-gems refresh-gems prepare-gems,$(MAKECMDGOALS)),)
|
||||
extract-gems: update-gems
|
||||
endif
|
||||
ifneq ($(filter refresh-gems,$(MAKECMDGOALS)),)
|
||||
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)),)
|
||||
ifneq ($(filter update-gems prepare-gems,$(MAKECMDGOALS)),)
|
||||
update-gems: $(filter update-bundled_gems,$(MAKECMDGOALS))
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue