Class: Tug::ProvisionCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/tug/command/provision_command.rb

Instance Method Summary collapse

Methods inherited from Command

command_for_string

Instance Method Details

#execute(config_file) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
# File 'lib/tug/command/provision_command.rb', line 4

def execute(config_file)
  keychain = config_file.keychain

  keychain.create_keychain
  keychain.select_keychain(keychain.name)
  keychain.unlock_keychain
  keychain.set_timeout
  keychain.import_apple_certificate
  keychain.import_distribution_certificate
  keychain.import_private_key
  keychain.import_profile
end