mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add rake task to reprocess sponsor logos
rake logo:reprocess
This commit is contained in:
parent
d662ebd252
commit
d47e9c317d
3 changed files with 8 additions and 3 deletions
6
lib/tasks/logo.rake
Normal file
6
lib/tasks/logo.rake
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
namespace :logo do
|
||||
desc 'Resize existing logo of sponsors after change in image manipulation specifications'
|
||||
task reprocess: :environment do
|
||||
Sponsor.find_each { |s| s.logo.reprocess! }
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue