Skip to content
Snippets Groups Projects
Commit bcde2f4d authored by Eric Davis's avatar Eric Davis
Browse files

Renamed the .rb files in the plugin_generator to end in .erb. The .rb was

causing rdoc to try to document them and fail.

* Updated the generator's manifest to use the new files
* Renamed template README to README.rdoc

  #2011


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@1949 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 48ae6f38
No related merge requests found
......@@ -22,10 +22,10 @@ class RedminePluginGenerator < Rails::Generator::NamedBase
m.directory "#{plugin_path}/lang"
m.directory "#{plugin_path}/test"
m.template 'README', "#{plugin_path}/README"
m.template 'init.rb', "#{plugin_path}/init.rb"
m.template 'README.rdoc', "#{plugin_path}/README.rdoc"
m.template 'init.rb.erb', "#{plugin_path}/init.rb"
m.template 'en.yml', "#{plugin_path}/lang/en.yml"
m.template 'test_helper.rb', "#{plugin_path}/test/test_helper.rb"
m.template 'test_helper.rb.erb', "#{plugin_path}/test/test_helper.rb"
end
end
end
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment