summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTom Black <[email protected]>2017-03-07 23:19:44 -0500
committerTom Black <[email protected]>2017-03-07 23:19:44 -0500
commit89902fef0fe054641273b18d75c64c1f27f699bf (patch)
treed96731589bc8870bc3841cdd5894b60bef7f24ab
parent0ee98a0f0bf8636c7d521257d5a79431fbbd1277 (diff)
downloadruby2d-89902fef0fe054641273b18d75c64c1f27f699bf.tar.gz
ruby2d-89902fef0fe054641273b18d75c64c1f27f699bf.zip
Namespace interactive test tasks
-rw-r--r--Rakefile34
1 files changed, 18 insertions, 16 deletions
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"