Class: PodfileCP

Inherits:
Object
  • Object
show all
Defined in:
lib/pod_builder/podfile_cp.rb

Class Method Summary collapse

Class Method Details

.podfile_path_transform(path) ⇒ Object



91
92
93
94
95
96
97
98
# File 'lib/pod_builder/podfile_cp.rb', line 91

def self.podfile_path_transform(path)
  prebuilt_prefix = PodBuilder::prebuiltpath.gsub(PodBuilder::project_path, "")[1..] + "/"
  if path.start_with?(prebuilt_prefix)
    return path
  else
    return PodBuilder::Podfile.podfile_path_transform(path)
  end
end