add TODO listing task to Rakefile

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499431 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2007-01-24 15:09:51 +00:00
parent 39c8be6447
commit 07a87711db
1 changed files with 5 additions and 0 deletions

View File

@ -74,6 +74,11 @@ Rake::TestTask.new(:test_units) do |t|
t.ruby_opts = ['-r solr', '-r test/unit', '-Itest/unit'] t.ruby_opts = ['-r solr', '-r test/unit', '-Itest/unit']
end end
task :todo do
# TODO (heh): is there a slicker way to do this?
exec("grep -r TODO lib | grep \".rb:\"")
end
# NOTE: test_functionals does not work standalone currently. It needs the TestSolrServer wrapper in the :test task # NOTE: test_functionals does not work standalone currently. It needs the TestSolrServer wrapper in the :test task
Rake::TestTask.new(:test_functionals) do |t| Rake::TestTask.new(:test_functionals) do |t|
t.pattern = 'test/functional/*_test.rb' t.pattern = 'test/functional/*_test.rb'