util/update_rasters.rb in emojidex-rasters-0.0.2 vs util/update_rasters.rb in emojidex-rasters-0.0.3

- old
+ new

@@ -12,18 +12,22 @@ require 'emojidex' require 'emojidex_converter' require 'emojidex-vectors' # UTF -converter = Emojidex::Converter.new(destination: '../emoji/utf') +utf_dest = '../emoji/utf' +FileUtils.rm_rf(utf_dest) +converter = Emojidex::Converter.new(destination: utf_dest, noisy: true) utf = Emojidex::UTF.new puts "Rasterizing UTF emoji" puts "入[#{utf.source_path}] 出[#{converter.destination}]" converter.rasterize_collection(utf) # Extended -converter = Emojidex::Converter.new(destination: '../emoji/extended') +extended_dest = '../emoji/extended' +FileUtils.rm_rf(extended_dest) +converter = Emojidex::Converter.new(destination: extended_dest, noisy: true) extended = Emojidex::Extended.new puts "Rasterizing Extended emoji" puts "入[#{extended.source_path}] 出[#{converter.destination}]" converter.rasterize_collection(extended)