Commit 9e8c7b56 authored by Fabio Pelosin's avatar Fabio Pelosin

[LocalSource] Tuning.

parent 7a80f78f
......@@ -518,7 +518,7 @@ module Pod
end
def root
Pathname.new(@top_specification.defined_in_file).dirname
@root ||= Pathname.new(@top_specification.source[:local]).expand_path
end
def implode
......
......@@ -390,12 +390,8 @@ module Pod
end
def pod_destroot
if local?
local_path
else
config.project_pods_root + top_level_parent.name
end
end
def self.pattern_list(patterns)
if patterns.is_a?(Array) && (!defined?(Rake) || !patterns.is_a?(Rake::FileList))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment