OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
cleanup excluded_paths from unused paths in copyright tasks
Ivan Kuchin5b1e8c78a894
diff --git a/lib/tasks/copyright.rake b/lib/tasks/copyright.rakeindex 1e653fdb302..178c1340d18 100644--- a/lib/tasks/copyright.rake+++ b/lib/tasks/copyright.rake@@ -75,17 +75,10 @@ namespace :copyright doenddef exluded_paths- %w(- app/assets/javascripts/lib/- app/assets/javascripts/locales/- coverage- frontend/bower_components+ %w[frontend/node_modules- frontend/vendor- frontend/coverage- frontend/tmptmp- )+ ]enddef copyright_regexp(format)@@ -187,10 +180,7 @@ namespace :copyright dodesc "Update the copyright on .sass source files"task :update_sass, :path do |_task, args|- excluded = %w(- app/assets/stylesheets/default.css.sass- )- rewrite_copyright("sass", excluded, :sass, args[:path])+ rewrite_copyright("sass", [], :sass, args[:path])enddesc "Update the copyright on .sql source files"@@ -205,9 +195,7 @@ namespace :copyright dodesc "Update the copyright on .js.erb source files"task :update_js_erb, :path do |_task, args|- excluded = ["app/assets/javascripts/application.js.erb"]-- rewrite_copyright("js.erb", excluded, :erb, args[:path])+ rewrite_copyright("js.erb", [], :erb, args[:path])enddesc "Update the copyright on .rdoc source files"