ruby-changes:60892
From: Nobuyoshi <ko1@a...>
Date: Fri, 24 Apr 2020 18:33:36 +0900 (JST)
Subject: [ruby-changes:60892] 5b8c36dfb2 (master): [DOC] Added GNU make specific targets [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=5b8c36dfb2 From 5b8c36dfb25a060543fcec00abe34d516fcb44f6 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 24 Apr 2020 18:32:07 +0900 Subject: [DOC] Added GNU make specific targets [ci skip] diff --git a/doc/make_cheatsheet.md b/doc/make_cheatsheet.md index 80fe1cf..bf245be 100644 --- a/doc/make_cheatsheet.md +++ b/doc/make_cheatsheet.md @@ -69,6 +69,12 @@ $ make test-all TESTS=ruby/foo https://github.com/ruby/ruby/blob/trunk/doc/make_cheatsheet.md#L69 $ 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 https://github.com/ruby/ruby/blob/trunk/doc/make_cheatsheet.md#L85 $ 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/