lib/omnibus/packagers/base.rb in omnibus-5.5.0 vs lib/omnibus/packagers/base.rb in omnibus-5.6.0
- old
+ new
@@ -179,9 +179,18 @@
def staging_dir
@staging_dir ||= Dir.mktmpdir(project.package_name)
end
#
+ # Helper method to produce staging paths
+ #
+ # @return [String]
+ #
+ def staging_dir_path(file_name)
+ File.join(staging_dir, file_name)
+ end
+
+ #
# @!group Resource methods
# --------------------------------------------------
#
# The preferred path to a resource on disk with the given +name+. This