Module: Flak::Template::Mac::Settings
Class Method Summary
collapse
Instance Method Summary
collapse
flatten_yaml, flatten_yaml_file, infuse, settings_modifications
Class Method Details
.extended(target) ⇒ Object
8
9
10
|
# File 'lib/flak/rake/templates/mac.rb', line 8
def self.extended target
infuse target
end
|
Instance Method Details
#mac_app_release_path(file) ⇒ Object
12
13
14
15
16
17
|
# File 'lib/flak/rake/templates/mac.rb', line 12
def mac_app_release_path(file)
bind = binding()
Flak::Errors.assert("@settings[:revision_directory]", "String", bind,__FILE__)
Flak::Errors.assert("@settings[:product_revision]", "String", bind,__FILE__)
File.join(@settings[:revision_directory], 'bin', "#{file.pathmap('%f').pathmap('%X')}-#{@settings[:product_revision]}#{file.pathmap('%x')}")
end
|