13 lines
257 B
Text
13 lines
257 B
Text
|
require 'rake'
|
||
|
require 'rake/testtask'
|
||
|
|
||
|
desc 'Default: run unit tests.'
|
||
|
task :default => :test
|
||
|
|
||
|
desc 'Test the hooks plugin.'
|
||
|
Rake::TestTask.new(:test) do |test|
|
||
|
test.libs << 'test'
|
||
|
test.test_files = FileList['test/*_test.rb']
|
||
|
test.verbose = true
|
||
|
end
|