Share download cache with bundler
This commit is contained in:
parent
dad110d068
commit
03ca90c732
@ -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…
x
Reference in New Issue
Block a user