Sha256: 68af648a06ce73ff84d09b21f295d2efb02fcda6d81e69f5e2dce8693e473423
Contents?: true
Size: 669 Bytes
Versions: 42
Compression:
Stored size: 669 Bytes
Contents
module Fastlane module Actions module SharedValues DEFAULT_PLATFORM = :DEFAULT_PLATFORM end class DefaultPlatformAction < Action def self.run(params) raise "You forgot to pass the default platform".red if params.first.nil? platform = params.first.to_sym SupportedPlatforms.verify!platform Actions.lane_context[SharedValues::DEFAULT_PLATFORM] = platform end def self.description "Defines a default platform to not have to specify the platform" end def self.author "KrauseFx" end def self.is_supported?(platform) true end end end end
Version data entries
42 entries across 42 versions & 1 rubygems