diff options
| author | Tom Black <[email protected]> | 2017-03-07 23:19:44 -0500 |
|---|---|---|
| committer | Tom Black <[email protected]> | 2017-03-07 23:19:44 -0500 |
| commit | 89902fef0fe054641273b18d75c64c1f27f699bf (patch) | |
| tree | d96731589bc8870bc3841cdd5894b60bef7f24ab | |
| parent | 0ee98a0f0bf8636c7d521257d5a79431fbbd1277 (diff) | |
| download | ruby2d-89902fef0fe054641273b18d75c64c1f27f699bf.tar.gz ruby2d-89902fef0fe054641273b18d75c64c1f27f699bf.zip | |
Namespace interactive test tasks
| -rw-r--r-- | Rakefile | 34 |
1 files changed, 18 insertions, 16 deletions
@@ -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" |
