Sha256: 44400ec7abba0dfd46bd0509930bf8284b7adab208f820418b03ed044e1e767f
Contents?: true
Size: 580 Bytes
Versions: 4
Compression:
Stored size: 580 Bytes
Contents
require 'fastlane_core/languages' module Deliver module Loader # The directory 'appleTV' is a special folder that will cause our screenshot gathering code to iterate # through it as well searching for language folders. APPLE_TV_DIR_NAME = "appleTV" ALL_LANGUAGES = (FastlaneCore::Languages::ALL_LANGUAGES + [APPLE_TV_DIR_NAME]).map(&:downcase).freeze def self.language_folders(root) Dir.glob(File.join(root, '*')).select do |path| File.directory?(path) && ALL_LANGUAGES.include?(File.basename(path).downcase) end.sort end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
deliver-1.9.0 | lib/deliver/loader.rb |
deliver-1.8.1 | lib/deliver/loader.rb |
deliver-1.8.0 | lib/deliver/loader.rb |
deliver-1.7.0 | lib/deliver/loader.rb |