Skip to content
Newer
Older
100644 14 lines (12 sloc) 262 Bytes
9a35146 Add a rake task to run tests
Joseph HALTER authored Feb 12, 2009
1 require 'rubygems'
2 require 'rake'
3 require 'rake/testtask'
4
5 desc "Default Task"
6 task :default => [ :test ]
7
8 # Run the unit tests
9 Rake::TestTask.new :test do |t|
10 t.libs << "test"
11 t.pattern = 'test/*_test.rb'
12 t.ruby_opts << '-rubygems'
13 t.verbose = false
14 end
Something went wrong with that request. Please try again.