mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* Makefile.in (update-rubyspec): move rubyspec to srcdir.
(test-rubyspec): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4d0fd56540
commit
36581da692
2 changed files with 11 additions and 6 deletions
|
|
@ -1,3 +1,8 @@
|
|||
Fri May 16 14:54:56 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* Makefile.in (update-rubyspec): move rubyspec to srcdir.
|
||||
(test-rubyspec): ditto.
|
||||
|
||||
Fri May 16 14:25:22 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* Makefile.in (test-rubyspec): use RUNRUBY. suggested by nobu.
|
||||
|
|
|
|||
12
Makefile.in
12
Makefile.in
|
|
@ -186,17 +186,17 @@ MSPEC_GIT_URL=git://github.com/brixen/mspec.git
|
|||
RUBYSPEC_GIT_URL=git://github.com/brixen/rubyspec.git
|
||||
|
||||
update-rubyspec:
|
||||
if [ -d rubyspec ]; then \
|
||||
cd rubyspec/mspec; \
|
||||
if [ -d $(srcdir)/rubyspec ]; then \
|
||||
cd $(srcdir)/rubyspec/mspec; \
|
||||
git pull; \
|
||||
cd ../spec/rubyspec; \
|
||||
git pull; \
|
||||
else \
|
||||
git clone $(MSPEC_GIT_URL) rubyspec/mspec; \
|
||||
git clone $(RUBYSPEC_GIT_URL) rubyspec/spec/rubyspec; \
|
||||
git clone $(MSPEC_GIT_URL) $(srcdir)/rubyspec/mspec; \
|
||||
git clone $(RUBYSPEC_GIT_URL) $(srcdir)/rubyspec/spec/rubyspec; \
|
||||
fi
|
||||
|
||||
test-rubyspec:
|
||||
@if [ ! -d rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi
|
||||
$(RUNRUBY) rubyspec/mspec/bin/mspec -r$(srcdir)/ext/purelib.rb rubyspec/spec/rubyspec/$(MAJOR).$(MINOR)
|
||||
@if [ ! -d $(srcdir)/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi
|
||||
$(RUNRUBY) $(srcdir)/rubyspec/mspec/bin/mspec -r$(srcdir)/ext/purelib.rb $(srcdir)/rubyspec/spec/rubyspec/$(MAJOR).$(MINOR)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue