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:
parent
dad110d068
commit
03ca90c732
2 changed files with 7 additions and 0 deletions
|
@ -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)" \
|
||||
|
|
|
@ -206,6 +206,7 @@ RM = rm -f
|
|||
RMDIR = @RMDIR@
|
||||
RMDIRS = @RMDIRS@
|
||||
RMALL = @RMALL@
|
||||
LN_S = @LN_S@
|
||||
NM = @NM@
|
||||
AR = @AR@
|
||||
ARFLAGS = @ARFLAGS@$(empty)
|
||||
|
|
Loading…
Reference in a new issue