Module: Deliver::Loader
- Defined in:
- lib/deliver/loader.rb
Constant Summary collapse
- APPLE_TV_DIR_NAME =
The directory ‘appleTV’ is a special folder that will cause our screenshot gathering code to iterate through it as well searching for language folders.
"appleTV"
- ALL_LANGUAGES =
(FastlaneCore::Languages::ALL_LANGUAGES + [APPLE_TV_DIR_NAME]).map(&:downcase).freeze
Class Method Summary collapse
Class Method Details
.language_folders(root) ⇒ Object
10 11 12 13 14 |
# File 'lib/deliver/loader.rb', line 10 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 |