From 33aa28ca8d4af0fa3cf7aeae952b763eeb4002e4 Mon Sep 17 00:00:00 2001 From: Tom Black Date: Sun, 10 Dec 2017 22:42:49 -0800 Subject: Replace "MRI" with "int" in Rake tasks --- README.md | 4 ++-- Rakefile | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 51e2473..720e2f7 100644 --- a/README.md +++ b/README.md @@ -33,8 +33,8 @@ Finally, run `rake` to build and install the gem locally. Ruby 2D uses a combination of automated tests via [RSpec](http://rspec.info) and manual, interactive tests to verify the correctness of visual, audio, and input functionality. Build the gem and run all automated tests using the `rake` command. Build and run an interactive test in the [`test/`](test/) directory using `rake test: `, for example: ```bash -# Run `test/testcard.rb` using the standard Ruby interpreter, MRI (or CRuby) -rake test:mri testcard +# Run `test/testcard.rb` using the standard Ruby interpreter, MRI (CRuby) +rake test:int testcard # Build `test/audio.rb` natively using MRuby and run rake test:native audio diff --git a/Rakefile b/Rakefile index 3c0d1cc..4daba79 100644 --- a/Rakefile +++ b/Rakefile @@ -30,8 +30,8 @@ def run_cmd(cmd) system cmd end -def run_mri_test(file) - print_task "Running MRI test: #{file}.rb" +def run_int_test(file) + print_task "Running interpreted test: #{file}.rb" run_cmd "( cd test/ && ruby #{file}.rb )" end @@ -96,10 +96,10 @@ RSpec::Core::RakeTask.new do |t| end namespace :test do - desc "Run MRI test" - task :mri do + desc "Run interpreted test" + task :int do get_args - run_mri_test ARGV[1] + run_int_test ARGV[1] end desc "Run native test" -- cgit v1.2.3