mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
do not forget .yml.example files
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
#-- copyright
|
||||
# OpenProject is a project management system.
|
||||
#
|
||||
# Copyright (C) 2012-2013 the OpenProject Team
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License version 3.
|
||||
#
|
||||
# See doc/COPYRIGHT.rdoc for more details.
|
||||
#++
|
||||
|
||||
# = ChiliProject configuration file
|
||||
#
|
||||
# Each environment has it's own configuration options. If you are only
|
||||
|
||||
@@ -1,3 +1,14 @@
|
||||
#-- copyright
|
||||
# OpenProject is a project management system.
|
||||
#
|
||||
# Copyright (C) 2012-2013 the OpenProject Team
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License version 3.
|
||||
#
|
||||
# See doc/COPYRIGHT.rdoc for more details.
|
||||
#++
|
||||
|
||||
# MySQL (default setup).
|
||||
|
||||
production:
|
||||
|
||||
@@ -127,6 +127,11 @@ namespace :copyright do
|
||||
rewrite_copyright("yml", [], :rb, args[:arg1])
|
||||
end
|
||||
|
||||
desc "Update the copyright on .yml.example source files"
|
||||
task :update_yml_example, :arg1 do |task, args|
|
||||
rewrite_copyright("yml.example", [], :rb, args[:arg1])
|
||||
end
|
||||
|
||||
desc "Update the copyright on .rjs source files"
|
||||
task :update_rjs, :arg1 do |task, args|
|
||||
rewrite_copyright("rjs", [], :rb, args[:arg1])
|
||||
@@ -234,7 +239,7 @@ namespace :copyright do
|
||||
task :update, :arg1 do |task, args|
|
||||
%w{
|
||||
css rb js js_erb css_erb html_erb json_erb text_erb atom_builder api_rsb rake
|
||||
feature rdoc rjs md sql html yml special_files
|
||||
feature rdoc rjs md sql html yml yml_example special_files
|
||||
}.each do |t|
|
||||
Rake::Task['copyright:update_' + t.to_s].invoke(args[:arg1])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user