ruby-changes:70799
From: Nobuyoshi <ko1@a...>
Date: Sun, 9 Jan 2022 13:22:58 +0900 (JST)
Subject: [ruby-changes:70799] b43ad6b802 (master): [DOC] Fold too long lines
https://git.ruby-lang.org/ruby.git/commit/?id=b43ad6b802 From b43ad6b802b805cec6bee503e352d9697da8ca56 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 9 Jan 2022 12:41:30 +0900 Subject: [DOC] Fold too long lines --- doc/hacking.md | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/doc/hacking.md b/doc/hacking.md index b5197b9c52c..0793f363c3a 100644 --- a/doc/hacking.md +++ b/doc/hacking.md @@ -1,12 +1,16 @@ https://github.com/ruby/ruby/blob/trunk/doc/hacking.md#L1 # Ruby Hacking Guide -This document gives some helpful instructions which should make your experience as a Ruby core developer easier. +This document gives some helpful instructions which should make your +experience as a Ruby core developer easier. ## Setup ### Make -It's common to want to compile things as quickly as possible. Ensuring `make` has the right `--jobs` flag will ensure all processors are utilized when building software projects. To do this effectively, you can set `MAKEFLAGS` in your shell configuration/profile: +It's common to want to compile things as quickly as possible. Ensuring +`make` has the right `--jobs` flag will ensure all processors are +utilized when building software projects To do this effectively, you +can set `MAKEFLAGS` in your shell configuration/profile: ``` shell # On macOS with Fish shell: @@ -36,7 +40,8 @@ make install https://github.com/ruby/ruby/blob/trunk/doc/hacking.md#L40 ### Without Documentation -If you are frequently building Ruby, this will reduce the time it takes to `make install`. +If you are frequently building Ruby, this will reduce the time it +takes to `make install`. ``` shell ../configure --disable-install-doc @@ -46,13 +51,15 @@ If you are frequently building Ruby, this will reduce the time it takes to `make https://github.com/ruby/ruby/blob/trunk/doc/hacking.md#L51 ### Run Local Test Script -You can create a file in the Ruby source root called `test.rb`. You can build `miniruby` and execute this script: +You can create a file in the Ruby source root called `test.rb`. You +can build `miniruby` and execute this script: ``` shell make run ``` -If you want more of the standard library, you can use `runruby` instead of `run`. +If you want more of the standard library, you can use `runruby` +instead of `run`. ## Running Tests @@ -64,7 +71,8 @@ make check https://github.com/ruby/ruby/blob/trunk/doc/hacking.md#L71 ### Run Bootstrap Tests -There are a set of tests in `bootstraptest/` which cover most basic features of the core Ruby language. +There are a set of tests in `bootstraptest/` which cover most basic +features of the core Ruby language. ``` shell make test @@ -72,7 +80,8 @@ make test https://github.com/ruby/ruby/blob/trunk/doc/hacking.md#L80 ### Run Extensive Tests -There are extensive tests in `test/` which cover a wide range of features of the Ruby core language. +There are extensive tests in `test/` which cover a wide range of +features of the Ruby core language. ``` shell make test-all @@ -86,7 +95,8 @@ make test-all TESTS=../test/fiber/test_io.rb https://github.com/ruby/ruby/blob/trunk/doc/hacking.md#L95 ### Run RubySpec Tests -RubySpec is a project to write a complete, executable specification for the Ruby programming language. +RubySpec is a project to write a complete, executable specification +for the Ruby programming language. ``` shell make test-spec -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/