Class: BigKeeper::XcodeOperator

Inherits:
Object
  • Object
show all
Defined in:
lib/big_keeper/util/xcode_operator.rb

Class Method Summary collapse

Class Method Details

.open_workspace(path) ⇒ Object



5
6
7
8
9
10
11
12
13
# File 'lib/big_keeper/util/xcode_operator.rb', line 5

def self.open_workspace(path)
  # Close Xcode
  `pkill Xcode`

  sleep 0.5

  # Open home workspace
  `open #{path}/*.xcworkspace`
end