do not forget .yml.example files

This commit is contained in:
Philipp Tessenow
2013-09-16 17:53:23 +02:00
parent c23e991625
commit d08f44ff83
3 changed files with 28 additions and 1 deletions
+11
View File
@@ -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
+11
View File
@@ -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:
+6 -1
View File
@@ -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