class Fastlane::SupportedPlatforms
Attributes
Public Class Methods
Source
# File fastlane/lib/fastlane/supported_platforms.rb, line 17 def self.all (@default + @extra).flatten end
Source
# File fastlane/lib/fastlane/supported_platforms.rb, line 7 def extra=(value) value ||= [] UI.important("Setting '#{value}' as extra SupportedPlatforms") @extra = value end
Source
# File fastlane/lib/fastlane/supported_platforms.rb, line 22 def self.verify!(platform) unless all.include?(platform.to_s.to_sym) UI.important("Platform '#{platform}' is not officially supported. Currently supported platforms are #{self.all}.") end end
this will log a warning if the passed platform is not supported