class Fastlane::SupportedPlatforms

Attributes

default[R]
extra[RW]

Public Class Methods

all() click to toggle source
# File fastlane/lib/fastlane/supported_platforms.rb, line 17
def self.all
  (@default + @extra).flatten
end
extra=(value) click to toggle source
# File fastlane/lib/fastlane/supported_platforms.rb, line 7
def extra=(value)
  value ||= []
  UI.important("Setting '#{value}' as extra SupportedPlatforms")
  @extra = value
end
verify!(platform) click to toggle source

this will log a warning if the passed platform is not supported

# 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