Redmine/vendor/plugins/gloc-1.1.0/Rakefile

16 lines
506 B
Ruby

Dir.glob("#{File.dirname(__FILE__)}/tasks/*.rake").each {|f| load f}
task :default => 'gloc:sort'
# RDoc task
require 'rake/rdoctask'
Rake::RDocTask.new() { |rdoc|
rdoc.rdoc_dir = 'doc'
rdoc.title = "GLoc Localization Library Documentation"
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README', 'CHANGELOG')
rdoc.rdoc_files.include('lib/**/*.rb')
rdoc.rdoc_files.exclude('lib/gloc-dev.rb')
rdoc.rdoc_files.exclude('lib/gloc-config.rb')
}