Sha256: f00f16b4e8feaac22042adc78b2d5f54f870926ea829cac25203942e6b418df1
Contents?: true
Size: 670 Bytes
Versions: 71
Compression:
Stored size: 670 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
71 entries across 71 versions & 1 rubygems