do not forget copyright header in tinymce.js and jstoolbar.js

pull/400/head
Philipp Tessenow 11 years ago
parent 0a67e87ba4
commit e00002148d
  1. 11
      app/assets/javascripts/calendar.js
  2. 11
      app/assets/javascripts/jstoolbar.js
  3. 10
      lib/tasks/copyright.rake

@ -1,2 +1,13 @@
//-- 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.
//++
//= require calendar/calendar
//= require calendar/calendar-setup

@ -1,2 +1,13 @@
//-- 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.
//++
//= require jstoolbar/jstoolbar
//= require jstoolbar/textile

@ -146,9 +146,9 @@ namespace :copyright do
"app/assets/javascripts/date-en-US.js",
"app/assets/javascripts/raphael.js",
"app/assets/javascripts/raphael-min.js",
"app/assets/javascripts/tinymce",
"app/assets/javascripts/calendar",
"app/assets/javascripts/jstoolbar"]
"app/assets/javascripts/tinymce/",
"app/assets/javascripts/calendar/",
"app/assets/javascripts/jstoolbar/"]
rewrite_copyright("js", excluded, :js, args[:arg1])
end
@ -156,8 +156,8 @@ namespace :copyright do
desc "Update the copyright on .js.erb source files"
task :update_js_erb, :arg1 do |task, args|
excluded = ["lib/assets",
"app/assets/javascripts/tinymce",
"app/assets/javascripts/calendar",
"app/assets/javascripts/tinymce/",
"app/assets/javascripts/calendar/",
"app/assets/javascripts/jstoolbar"]
rewrite_copyright("js.erb", excluded, :erb, args[:arg1])

Loading…
Cancel
Save