Sha256: 9709bdb88c3ebe8449ba25b68b79e9858ba13010a20ec1c020956d9dc6382849
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
module Pod class PrebuildSandbox < Sandbox # [String] standard_sandbox_path def self.from_standard_sanbox_path(path) prebuild_sandbox_path = Pathname.new(path).realpath + "_Prebuild" self.new(prebuild_sandbox_path) end def self.from_standard_sandbox(sandbox) self.from_standard_sanbox_path(sandbox.root) end def standard_sanbox_path self.root.parent end def generate_framework_path self.root + "GeneratedFrameworks" end def framework_folder_path_for_pod_name(name) self.generate_framework_path + name end def exsited_framework_names return [] unless generate_framework_path.exist? generate_framework_path.children().map do |framework_name| if framework_name.directory? if not framework_name.children.empty? File.basename(framework_name) else nil end else nil end end.reject(&:nil?) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-binary-0.3.3 | lib/cocoapods-binary/helper/prebuild_sandbox.rb |