1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Share download cache with bundler

This commit is contained in:
Nobuyoshi Nakada 2020-03-31 17:36:52 +09:00
parent dad110d068
commit 03ca90c732
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60
2 changed files with 7 additions and 0 deletions

View file

@ -248,6 +248,12 @@ BUNDLED_GEMS := $(shell sed 's/[ ][ ]*/-/;s/[ ].*//' $(srcdir)/gems/bundled_g
update-gems: | $(patsubst %,gems/%.gem,$(BUNDLED_GEMS))
test-bundler-precheck: | $(srcdir)/.bundle/cache
$(srcdir)/.bundle/cache:
$(MAKEDIRS) $(@D)
$(LN_S) ../.downloaded-cache $@
gems/%.gem:
$(ECHO) Downloading bundled gem $*...
$(Q) $(BASERUBY) -C "$(srcdir)" \

View file

@ -206,6 +206,7 @@ RM = rm -f
RMDIR = @RMDIR@
RMDIRS = @RMDIRS@
RMALL = @RMALL@
LN_S = @LN_S@
NM = @NM@
AR = @AR@
ARFLAGS = @ARFLAGS@$(empty)