class Pod::X::Sandbox
Constants
- PODFILE_NAMES
- XCODE_POD_CACHEFILE
Public Class Methods
find_podfile(dir)
click to toggle source
# File lib/cocoapods-x/extension/sandbox.rb, line 35 def self.find_podfile dir PODFILE_NAMES.each do |filename| candidate = dir + filename if candidate.file? return candidate end end nil end
install!()
click to toggle source
# File lib/cocoapods-x/extension/sandbox.rb, line 19 def self.install! Pod::X::Sandbox::workspace::install! end
podfile_exists!(dir)
click to toggle source
# File lib/cocoapods-x/extension/sandbox.rb, line 27 def self.podfile_exists! dir podfile = Pod::X::Sandbox::find_podfile(dir) if podfile.nil? raise Informative, "No `Podfile' found in the project directory." end podfile end
update!()
click to toggle source
# File lib/cocoapods-x/extension/sandbox.rb, line 23 def self.update! Pod::X::Sandbox::workspace::update! end
workspace()
click to toggle source
# File lib/cocoapods-x/extension/sandbox.rb, line 14 def self.workspace @@workspace ||= Pod::X::Sandbox::Workspace::new @@workspace end
xcode_cachefiles()
click to toggle source
# File lib/cocoapods-x/extension/sandbox.rb, line 45 def self.xcode_cachefiles XCODE_POD_CACHEFILE end