You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Rakefile 584B

12345678910111213141516171819202122
  1. require 'rake'
  2. require 'rake/testtask'
  3. require 'rake/rdoctask'
  4. desc 'Default: run unit tests.'
  5. task :default => :test
  6. desc 'Test the open_id_authentication plugin.'
  7. Rake::TestTask.new(:test) do |t|
  8. t.libs << 'lib'
  9. t.pattern = 'test/**/*_test.rb'
  10. t.verbose = true
  11. end
  12. desc 'Generate documentation for the open_id_authentication plugin.'
  13. Rake::RDocTask.new(:rdoc) do |rdoc|
  14. rdoc.rdoc_dir = 'rdoc'
  15. rdoc.title = 'OpenIdAuthentication'
  16. rdoc.options << '--line-numbers' << '--inline-source'
  17. rdoc.rdoc_files.include('README')
  18. rdoc.rdoc_files.include('lib/**/*.rb')
  19. end