Sha256: ae1da7741f0f3f68dcaeda9657e85c930852dbf430b14dd100e4616e69a88501

Contents?: true

Size: 467 Bytes

Versions: 4

Compression:

Stored size: 467 Bytes

Contents

class Updater
  module Fonts
    def update_font_assets
      log_status 'Updating fonts...'
      save_to = @save_to[:fonts]
      contents = {}
      tabler_font_files = get_paths_by_type('src/assets/fonts', /\.(?:eot|svg|ttf|woff)$/)
      read_files('src/assets/fonts', tabler_font_files).each do |name, file|
        contents[name] = file
        save_file("#{save_to}/#{name}", file)
      end
      log_processed "#{tabler_font_files * ' '}"
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tabler-rubygem-0.1.4 tasks/updater/fonts.rb
tabler-rubygem-0.1.3 tasks/updater/fonts.rb
tabler-rubygem-0.1.2 tasks/updater/fonts.rb
tabler-rubygem-0.1.1 tasks/updater/fonts.rb