Sha256: a1fc3356f20662e3dca972e82140f0370dfe5a02799a11ea2809f06748ec7435
Contents?: true
Size: 1.27 KB
Versions: 3
Compression:
Stored size: 1.27 KB
Contents
module Fastlane module Actions require 'fastlane/actions/build_app' class BuildIosAppAction < BuildAppAction # Gym::Options.available_options keys that don't apply to ios apps. REJECT_OPTIONS = [ :pkg, :skip_package_pkg, :catalyst_platform, :installer_cert_name ] def self.run(params) # Adding reject options back in so gym has everything it needs params.available_options += Gym::Options.available_options.select do |option| REJECT_OPTIONS.include?(option.key) end # Defaulting to ios specific values params[:catalyst_platform] = "ios" super(params) end ##################################################### # @!group Documentation ##################################################### def self.available_options require 'gym' require 'gym/options' Gym::Options.available_options.reject do |option| REJECT_OPTIONS.include?(option.key) end end def self.is_supported?(platform) [:ios].include?(platform) end def self.description "Alias for the `build_app` action but only for iOS" end end end end
Version data entries
3 entries across 3 versions & 1 rubygems