diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-24 18:32:07 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2020-04-24 18:32:47 +0900 |
commit | 5b8c36dfb25a060543fcec00abe34d516fcb44f6 (patch) | |
tree | cf0db76f4f2886ab2e0509cc93777cd3161724c3 | |
parent | 04a55763fac6c7ec5765733760a67483e013eea9 (diff) | |
download | ruby-5b8c36dfb25a060543fcec00abe34d516fcb44f6.tar.gz |
[DOC] Added GNU make specific targets [ci skip]
-rw-r--r-- | doc/make_cheatsheet.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/make_cheatsheet.md b/doc/make_cheatsheet.md index 80fe1cfec5..bf245bea03 100644 --- a/doc/make_cheatsheet.md +++ b/doc/make_cheatsheet.md @@ -69,6 +69,12 @@ $ make test-all TESTS=ruby/foo $ make test-all TESTS="test/ruby/test_foo.rb -n /test_bar/" ``` +### Runs a file or directory with GNU make +``` +$ make test/ruby/test_foo.rb +$ make test/ruby/test_foo.rb TESTOPTS="-n /test_bar/" +``` + ### Runs a ruby-spec directory ``` $ make test-spec MSPECOPT=spec/ruby/core/foo @@ -79,6 +85,11 @@ $ make test-spec MSPECOPT=spec/ruby/core/foo $ make test-spec MSPECOPT=spec/ruby/core/foo/bar_spec.rb ``` +### Runs a ruby-spec file or directory with GNU make +``` +$ make spec/ruby/core/foo/bar_spec.rb +``` + ### Runs a bundler spec file ``` $ make test-bundler BUNDLER_SPECS=commands/exec_spec.rb:58 |