1
0
Fork 0
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:
Nobuyoshi Nakada 2020-03-12 22:58:04 +09:00
parent de10631dcf
commit 289bdb64d9
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 6 additions and 6 deletions

View file

@ -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...

View file

@ -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