summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-09 08:38:20 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-11-09 08:38:20 +0000
commitece64610d31df10babc36d770da8395776e888f4 (patch)
tree26255ae8d7d6ead467c9bbe7293ccfaeb56e4852 /Makefile.in
parent0303a45d0399f089c4920b0bc10ac87482f839ec (diff)
downloadruby-ece64610d31df10babc36d770da8395776e888f4.tar.gz
* test/runner.rb: use official repository for coverage tool.
* Makefile.in: ditto. * common.mk: ditto. * .gitignore: ignored third party repositories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in33
1 files changed, 30 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in
index 5a7d0a70fb..55ec051c1b 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -490,17 +490,44 @@ update-rubyspec: update-mspec
test-rubyspec-precheck:
@if [ ! -d $(srcdir)/spec/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi
-update-coverage:
+update-doclie:
+ @$(CHDIR) $(srcdir); \
+ if [ -d coverage/doclie ]; then \
+ cd coverage/doclie; \
+ echo updating doclie ...; \
+ exec git fetch; \
+ exec git checkout $(DOCLIE_GIT_REF); \
+ else \
+ echo retrieving doclie ...; \
+ exec git clone --branch $(DOCLIE_GIT_REF) $(DOCLIE_GIT_URL) coverage/doclie; \
+ fi
+
+update-simplecov-html:
+ @$(CHDIR) $(srcdir); \
+ if [ -d coverage/simplecov-html ]; then \
+ cd coverage/simplecov-html; \
+ echo updating simplecov-html ...; \
+ exec git fetch; \
+ exec git checkout $(SIMPLECOV_HTML_GIT_REF); \
+ else \
+ echo retrieving simplecov-html ...; \
+ exec git clone --branch $(SIMPLECOV_HTML_GIT_REF) $(SIMPLECOV_HTML_GIT_URL) coverage/simplecov-html; \
+ fi
+
+update-simplecov:
@$(CHDIR) $(srcdir); \
if [ -d coverage/simplecov ]; then \
cd coverage/simplecov; \
echo updating simplecov ...; \
- exec git pull; \
+ exec git fetch; \
+ exec git checkout $(SIMPLECOV_GIT_REF); \
else \
echo retrieving simplecov ...; \
- exec git clone $(SIMPLECOV_GIT_URL) coverage/simplecov; \
+ exec git clone --branch $(SIMPLECOV_GIT_REF) $(SIMPLECOV_GIT_URL) coverage/simplecov; \
fi
+update-coverage: update-simplecov update-simplecov-html update-doclie
+
INSNS = opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc \
vmtc.inc vm.inc