From b6cd79c7f3b001ffe5d62b901f27ba77047a331b Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 3 Jan 2016 15:24:10 +0000 Subject: contributing.rdoc: update [ci skip] * doc/contributing.rdoc: mention some make targets, check, up, and love. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/contributing.rdoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/contributing.rdoc b/doc/contributing.rdoc index 828f263573..75d00e6f9f 100644 --- a/doc/contributing.rdoc +++ b/doc/contributing.rdoc @@ -296,7 +296,7 @@ Now let's build CRuby: mkdir build && cd build # its good practice to build outside of source dir mkdir ~/.rubies # we will install to .rubies/ruby-trunk in our home dir ../configure --prefix="${HOME}/.rubies/ruby-trunk" - make && make install + make up && make install After adding Ruby to your PATH, you should be ready to run the test suite: @@ -311,12 +311,24 @@ This is also how you can run a specific test from our build dir: make test-all TESTS=drb/test_drb.rb +You can run +test+ and +test-all+ at once by +check+ . + + make check + For older versions of Ruby you will need to run the build setup again after checking out the associated branch in git, for example if you wanted to checkout 1.9.3: git clone git://github.com/ruby/ruby.git --branch ruby_1_9_3 +Once you checked out the source code, you can update the local copy by: + + make up + +Or, update, build, install and check, by just: + + make love + == Contributing Documentation If you're interested in contributing documentation directly to CRuby there is -- cgit v1.2.3