Class: Fastlane::Actions::SighAction
Class Method Summary
collapse
author, details, output, sh
Class Method Details
.available_options ⇒ Object
43
44
45
46
47
|
# File 'lib/fastlane/actions/sigh.rb', line 43
def self.available_options
require 'sigh'
require 'sigh/options'
Sigh::Options.available_options
end
|
.description ⇒ Object
39
40
41
|
# File 'lib/fastlane/actions/sigh.rb', line 39
def self.description
"Generates a provisioning profile. Stores the profile in the current folder"
end
|
.run(params) ⇒ Object
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# File 'lib/fastlane/actions/sigh.rb', line 9
def self.run(params)
require 'sigh'
require 'sigh/options'
require 'sigh/manager'
require 'credentials_manager/appfile_config'
values = params.first
unless values.kind_of?Hash
values = {}
params.each do |val|
values[val] = true
end
end
begin
FastlaneCore::UpdateChecker.start_looking_for_update('sigh')
Sigh.config = FastlaneCore::Configuration.create(Sigh::Options.available_options, (values || {}))
path = Sigh::Manager.start
Actions.lane_context[SharedValues::SIGH_PROFILE_PATH] = path
Actions.lane_context[SharedValues::SIGH_UDID] = ENV["SIGH_UDID"] if ENV["SIGH_UDID"]
ensure
FastlaneCore::UpdateChecker.show_update_status('sigh', Sigh::VERSION)
end
end
|