Method: Xcodeci::Command.execute_in_workspace_folder

Defined in:
lib/xcodeci/command.rb

.execute_in_workspace_folder(repository_url, workspace, &block) ⇒ Object



14
15
16
17
18
19
# File 'lib/xcodeci/command.rb', line 14

def self.execute_in_workspace_folder (repository_url, workspace ,&block)
  Dir.chdir workspace_folder repository_url, workspace
  result = block.call
  Dir.chdir "#{Xcodeci::HOME}"
  result
end