summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-03 15:24:10 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-03 15:24:10 +0000
commit7d117c7046c03ae44711cf53ff7bef6776892de4 (patch)
tree4cf475b3766ef4140b846041c1b785dfbd351c8f
parentc4079eec28a3ad271656c7194a4fbabb61783aed (diff)
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
-rw-r--r--doc/contributing.rdoc14
1 files changed, 13 insertions, 1 deletions
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