Skip to content

class Barista::Behaviors::Omnibus::Packagers::Pkg
inherits Barista::Behaviors::Omnibus::Packagers::Base #

Constants#

BG_TEMPLATE = Barista.project_file("/behaviors/omnibus/packagers/scripts/pkg/background.png")#

DISTRIBUTION_TEMPLATE = Barista.project_file("/behaviors/omnibus/packagers/scripts/pkg/distribution.xml.hbs")#

LICENSE_TEMPLATE = Barista.project_file("/behaviors/omnibus/packagers/scripts/pkg/license.html.hbs")#

SCRIPT_MAP = {:preinst => "preinstall", :postinst => "postinstall", :preinstall => "preinstall", :postinstall => "postinstall"}#

WELCOME_TEMPLATE = Barista.project_file("/behaviors/omnibus/packagers/scripts/pkg/welcome.html.hbs")#

Constructors#

Class methods#

.supported? : Bool#

Methods#

#build : Nil#

#build_component_pkg#

#build_product_pkg#

#component_pkg#

#configure : Nil#

#final_pkg#

#find_linked_libs(file_path) : Array(String)#

#id : Symbol#

#identifier(val : Union(String, Nil) | Nil = nil)#

#is_binary?(bin) : Bool#

#license(*args, **options)#

#license#

#license_template(val : String | Nil = nil)#

#list_files#

#package_name#

#query#

#resources_path#

#safe_architecture : String#

#safe_base_package_name : String#

#safe_build_iteration#

#safe_identifier#

#safe_version#

#scripts_path#

#sign(bin, hardened_runtime = false)#

#sign_software#

#signing_identity(val : Union(String, Nil) | Nil = nil)#

#staging_path#

#supported? : Bool#

#welcome_template(val : String | Nil = nil)#

#write_distribution_file#

#write_scripts#