未验证 提交 4174f56b 编写于 作者: K Kasper Timm Hansen 提交者: GitHub

Merge pull request #38574 from jonathanhefner/plugin-remove-rdoc-rake-task

Remove :rdoc Rake task in generated plugin
* No longer include `rake rdoc` task when generating plugins.
To generate docs, use the `rdoc lib` command instead.
*Jonathan Hefner*
* Allow relative paths with trailing slashes to be passed to `rails test`.
*Eugene Kenny*
......
require "bundler/setup"
require "rdoc/task"
RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = '<%= camelized_modules %>'
rdoc.options << '--line-numbers'
rdoc.rdoc_files.include('README.md')
rdoc.rdoc_files.include('lib/**/*.rb')
end
<% if engine? && !options[:skip_active_record] && with_dummy_app? -%>
APP_RAKEFILE = File.expand_path("<%= dummy_path -%>/Rakefile", __dir__)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册