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

Makefile.in: V=1 at update

* Makefile.in (update-mspec, update-rubyspec, update-coverage):
  show commands to run if V=1.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-12-20 00:48:49 +00:00
parent ceea88af51
commit d6543f8056

View file

@ -468,22 +468,26 @@ after-update:: update-config_files common-srcs
update-mspec: update-mspec:
@$(CHDIR) $(srcdir); \ @$(CHDIR) $(srcdir); \
if [ -d spec/mspec ]; then \ if [ -d spec/mspec ]; then \
cd spec/mspec; \
echo updating mspec ...; \ echo updating mspec ...; \
$(Q:@=:) set -x; \
cd spec/mspec && \
exec git pull; \ exec git pull; \
else \ else \
echo retrieving mspec ...; \ echo retrieving mspec ...; \
$(Q:@=:) set -x; \
exec git clone $(MSPEC_GIT_URL) spec/mspec; \ exec git clone $(MSPEC_GIT_URL) spec/mspec; \
fi fi
update-rubyspec: update-mspec update-rubyspec: update-mspec
@$(CHDIR) $(srcdir); \ @$(CHDIR) $(srcdir); \
if [ -d spec/rubyspec ]; then \ if [ -d spec/rubyspec ]; then \
cd spec/rubyspec; \
echo updating rubyspec ...; \ echo updating rubyspec ...; \
$(Q:@=:) set -x; \
cd spec/rubyspec && \
exec git pull; \ exec git pull; \
else \ else \
echo retrieving rubyspec ...; \ echo retrieving rubyspec ...; \
$(Q:@=:) set -x; \
exec git clone $(RUBYSPEC_GIT_URL) spec/rubyspec; \ exec git clone $(RUBYSPEC_GIT_URL) spec/rubyspec; \
fi fi
@ -493,21 +497,24 @@ test-rubyspec-precheck:
update-doclie: update-doclie:
@$(CHDIR) $(srcdir); \ @$(CHDIR) $(srcdir); \
if [ -d coverage/doclie ]; then \ if [ -d coverage/doclie ]; then \
cd coverage/doclie; \
echo updating doclie ...; \ echo updating doclie ...; \
exec git fetch; \ $(Q:@=:) set -x; \
cd coverage/doclie && \
exec git fetch && \
exec git checkout $(DOCLIE_GIT_REF); \ exec git checkout $(DOCLIE_GIT_REF); \
else \ else \
echo retrieving doclie ...; \ echo retrieving doclie ...; \
$(Q:@=:) set -x; \
exec git clone --branch $(DOCLIE_GIT_REF) $(DOCLIE_GIT_URL) coverage/doclie; \ exec git clone --branch $(DOCLIE_GIT_REF) $(DOCLIE_GIT_URL) coverage/doclie; \
fi fi
update-simplecov-html: update-simplecov-html:
@$(CHDIR) $(srcdir); \ @$(CHDIR) $(srcdir); \
if [ -d coverage/simplecov-html ]; then \ if [ -d coverage/simplecov-html ]; then \
cd coverage/simplecov-html; \
echo updating simplecov-html ...; \ echo updating simplecov-html ...; \
exec git fetch; \ $(Q:@=:) set -x; \
cd coverage/simplecov-html && \
exec git fetch && \
exec git checkout $(SIMPLECOV_HTML_GIT_REF); \ exec git checkout $(SIMPLECOV_HTML_GIT_REF); \
else \ else \
echo retrieving simplecov-html ...; \ echo retrieving simplecov-html ...; \
@ -517,12 +524,14 @@ update-simplecov-html:
update-simplecov: update-simplecov:
@$(CHDIR) $(srcdir); \ @$(CHDIR) $(srcdir); \
if [ -d coverage/simplecov ]; then \ if [ -d coverage/simplecov ]; then \
cd coverage/simplecov; \
echo updating simplecov ...; \ echo updating simplecov ...; \
exec git fetch; \ $(Q:@=:) set -x; \
cd coverage/simplecov && \
exec git fetch && \
exec git checkout $(SIMPLECOV_GIT_REF); \ exec git checkout $(SIMPLECOV_GIT_REF); \
else \ else \
echo retrieving simplecov ...; \ echo retrieving simplecov ...; \
$(Q:@=:) set -x; \
exec git clone --branch $(SIMPLECOV_GIT_REF) $(SIMPLECOV_GIT_URL) coverage/simplecov; \ exec git clone --branch $(SIMPLECOV_GIT_REF) $(SIMPLECOV_GIT_URL) coverage/simplecov; \
fi fi