Redmine 4.1.1
This commit is contained in:
parent
33e7b881a5
commit
3d976f1b3b
1593 changed files with 36180 additions and 19489 deletions
|
@ -2,7 +2,7 @@ Description:
|
|||
The plugin generator creates stubs for a new Redmine plugin.
|
||||
|
||||
Example:
|
||||
./script/rails generate redmine_plugin meetings
|
||||
bundle exec rails generate redmine_plugin meetings
|
||||
create plugins/meetings/app
|
||||
create plugins/meetings/app/controllers
|
||||
create plugins/meetings/app/helpers
|
||||
|
|
|
@ -1,3 +1,22 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# Redmine - project management software
|
||||
# Copyright (C) 2006-2019 Jean-Philippe Lang
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License
|
||||
# as published by the Free Software Foundation; either version 2
|
||||
# of the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
class RedminePluginGenerator < Rails::Generators::NamedBase
|
||||
source_root File.expand_path("../templates", __FILE__)
|
||||
|
||||
|
@ -27,6 +46,7 @@ class RedminePluginGenerator < Rails::Generators::NamedBase
|
|||
empty_directory "#{plugin_path}/test/unit"
|
||||
empty_directory "#{plugin_path}/test/functional"
|
||||
empty_directory "#{plugin_path}/test/integration"
|
||||
empty_directory "#{plugin_path}/test/system"
|
||||
|
||||
template 'README.rdoc', "#{plugin_path}/README.rdoc"
|
||||
template 'init.rb.erb', "#{plugin_path}/init.rb"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue