vendor/groonga-log-source/Rakefile
raw| 1 | require "bundler/gem_tasks" |
| 2 | task :default => :test |
| 3 | |
| 4 | desc "Run tests" |
| 5 | task :test do |
| 6 | task_index = ARGV.index("test") |
| 7 | if task_index |
| 8 | run_test_options = ARGV[(task_index + 1)..-1] |
| 9 | else |
| 10 | run_test_options = [] |
| 11 | end |
| 12 | tests_exit_status = ruby("test/run-test.rb", *run_test_options) |
| 13 | exit(tests_exit_status) |
| 14 | end |