From 89902fef0fe054641273b18d75c64c1f27f699bf Mon Sep 17 00:00:00 2001 From: Tom Black Date: Tue, 7 Mar 2017 23:19:44 -0500 Subject: Namespace interactive test tasks --- Rakefile | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 1026af1..8cdb143 100644 --- a/Rakefile +++ b/Rakefile @@ -78,22 +78,24 @@ RSpec::Core::RakeTask.new do |t| t.pattern = "test/*spec.rb" end -desc "Run test" -task :test do - get_args - run_test ARGV[1] -end - -desc "Run native test" -task :native do - get_args - run_native_test ARGV[1] -end - -desc "Run web test" -task :web do - get_args - run_web_test ARGV[1] +namespace :test do + desc "Run test" + task :mri do + get_args + run_test ARGV[1] + end + + desc "Run native test" + task :native do + get_args + run_native_test ARGV[1] + end + + desc "Run web test" + task :web do + get_args + run_web_test ARGV[1] + end end desc "Uninstall, build, install, and test" -- cgit v1.2.3