Class: Fastlane::Actions::InstallProfilesAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::InstallProfilesAction
- Defined in:
- lib/fastlane/plugin/provisioning/actions/install_profiles_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
15 16 17 |
# File 'lib/fastlane/plugin/provisioning/actions/install_profiles_action.rb', line 15 def self. ["paweljankowski"] end |
.available_options ⇒ Object
23 24 25 26 27 28 29 30 31 |
# File 'lib/fastlane/plugin/provisioning/actions/install_profiles_action.rb', line 23 def self. [ FastlaneCore::ConfigItem.new(key: :path, env_name: "PROVISIONING_PROFILES_PATH", description: "Path to directory with provisioning profiles", optional: false, type: String) ] end |
.description ⇒ Object
11 12 13 |
# File 'lib/fastlane/plugin/provisioning/actions/install_profiles_action.rb', line 11 def self.description "Install profiles from specified directory" end |
.details ⇒ Object
19 20 21 |
# File 'lib/fastlane/plugin/provisioning/actions/install_profiles_action.rb', line 19 def self.details "Installing provisionig profiles on the local machine (eg. CI server) from the specified directory." end |
.is_supported?(platform) ⇒ Boolean
33 34 35 |
# File 'lib/fastlane/plugin/provisioning/actions/install_profiles_action.rb', line 33 def self.is_supported?(platform) [:ios, :mac].include?(platform) end |
.run(params) ⇒ Object
4 5 6 7 8 9 |
# File 'lib/fastlane/plugin/provisioning/actions/install_profiles_action.rb', line 4 def self.run(params) profiles_dir = Dir[params[:path] + "/*.mobileprovision"] profiles_dir.each do |profile_path| Helper::InstallProfilesHelper.install_profile(profile_path) end end |