Commit 93ddfa2a authored by Marius Rackwitz's avatar Marius Rackwitz

[Refactor] Extracted product_basename from Target's product name getters

parent f086a013
......@@ -37,16 +37,22 @@ module Pod
end
end
# @return [String] the name of the framework.
# @return [String] the name of the product excluding the file extension.
#
def product_basename
label
end
# @return [String] the name of the framework, depends on #product_basename.
#
def framework_name
"#{label}.framework"
"#{product_basename}.framework"
end
# @return [String] the name of the library.
# @return [String] the name of the library, depends on #product_basename.
#
def static_library_name
"lib#{label}.a"
"lib#{product_basename}.a"
end
# @return [Symbol] either :framework or :static_library, depends on
......
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