Sha256: 2224430207f765cb5c556ae4e34b6b33e06712fd241ee9441d70dc69b0a4540f
Contents?: true
Size: 1.53 KB
Versions: 1
Compression:
Stored size: 1.53 KB
Contents
require 'simctl' module Fastlane module Actions class SimctlAction < Action def self.run(params) Helper::SimctlHelper.execute_with_simulator_ready(params[:block], params[:runtime], params[:type]) end def self.description "Fastlane plugin to interact with xcrun simctl." end def self.authors ["Renzo Crisostomo"] end def self.details "Fastlane plugin to interact with xcrun simctl. Manage your iOS Simulators directly from your Fastfile." end def self.available_options [ FastlaneCore::ConfigItem.new(key: :block, description: "A Ruby block given to execute in the context of a Simulator ready", optional: false, type: Proc), FastlaneCore::ConfigItem.new(key: :runtime, description: "iOS Runtime used to create the simulator", optional: true, type: String, default_value: 'latest'), FastlaneCore::ConfigItem.new(key: :type, description: "iOS device type used to create the simulator", optional: true, type: String, default_value: 'iPhone 6') ] end def self.is_supported?(platform) [:ios].include?(platform) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fastlane-plugin-simctl-0.1.0 | lib/fastlane/plugin/simctl/actions/simctl_action.rb |