体验新版 GitCode,发现更多精彩内容 >>
require 'rake/testtask'
task :default => :test
Rake::TestTask.new do |t| t.libs << 'lib' t.pattern = 'test/**/*_test.rb' t.verbose = false end desc "Launch Kicker (like autotest)" task :kicker do puts "Kicking... (ctrl+c to cancel)" exec "kicker -e rake test bin" end