Sha256: d70bdbf47a6146252f8971aab9c86b06b67637cb453ee59cc51d29a93db833bf
Contents?: true
Size: 1.17 KB
Versions: 502
Compression:
Stored size: 1.17 KB
Contents
module Fastlane module Actions class AddExtraPlatformsAction < Action def self.run(params) UI.verbose("Before injecting extra platforms: #{Fastlane::SupportedPlatforms.all}") Fastlane::SupportedPlatforms.extra = params[:platforms] UI.verbose("After injecting extra platforms (#{params[:platforms]})...: #{Fastlane::SupportedPlatforms.all}") end def self.description "Modify the default list of supported platforms" end def self.available_options [ FastlaneCore::ConfigItem.new(key: :platforms, optional: false, type: Array, default_value: "", description: "The optional extra platforms to support") ] end def self.authors ["lacostej"] end def self.is_supported?(platform) true end def self.example_code [ 'add_extra_platforms( platforms: [:windows, :neogeo] )' ] end def self.category :misc end end end end
Version data entries
502 entries across 502 versions & 5 rubygems
Version | Path |
---|---|
fastlane-2.96.0.beta.20180518050116 | fastlane/lib/fastlane/actions/add_extra_platforms.rb |
fastlane-2.96.0.beta.20180517050058 | fastlane/lib/fastlane/actions/add_extra_platforms.rb |