13 lines
257 B
Ruby
13 lines
257 B
Ruby
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
|