lib/cocoapods-lhj-bin/helpers/framework.rb in cocoapods-aomi-bin-0.0.4 vs lib/cocoapods-lhj-bin/helpers/framework.rb in cocoapods-aomi-bin-0.0.5
- old
+ new
@@ -7,10 +7,11 @@
attr_reader :resources_path
attr_reader :root_path
attr_reader :versions_path
attr_reader :swift_module_path
attr_reader :fwk_path
+ attr_reader :root_resources_path
def initialize(name, platform)
@name = name
@platform = platform
end
@@ -73,9 +74,14 @@
end
def make_resources
@resources_path = @versions_path + Pathname.new('Resources')
@resources_path.mkpath unless @resources_path.exist?
+ end
+
+ def make_root_resources
+ @root_resources_path = @fwk_path + Pathname.new('Resources')
+ @root_resources_path.mkpath unless @root_resources_path.exist?
end
def make_root
@root_path = Pathname.new(@platform)
@root_path.mkpath unless @root_path.exist?