This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/follmann/favicon_maker | |
# gem install favicon_maker | |
require 'favicon_maker' | |
Dir.glob("./**/favicon.png").each do |png| | |
directory = png.gsub('favicon.png', '') | |
FaviconMaker.generate do | |
setup do | |
template_dir directory | |
output_dir directory | |
end |