class Barista::Behaviors::Omnibus::Packagers::Pkg
- Barista::Behaviors::Omnibus::Packagers::Pkg
- Barista::Behaviors::Omnibus::Packagers::Base
- Reference
- Object
Defined in:
barista/behaviors/omnibus/packagers/pkg.crConstant Summary
-
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")
-
ENTITLEMENTS_TEMPLATE =
Barista.project_file("/behaviors/omnibus/packagers/scripts/pkg/entitlements.plist.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 Method Summary
Instance Method Summary
- #build : Nil
- #build_component_pkg
- #build_product_pkg
- #codesigning_identity(val : Union(String, Nil) | Nil = nil)
- #component_pkg
- #configure : Nil
- #distribution_template(val : String | Nil = nil)
- #entitlements(val : Union(Array(String), Nil) | Nil = nil)
- #entitlements_path : String
- #final_pkg
- #find_linked_libs(file_path) : Array(String)
- #id : Symbol
- #identifier(val : Union(String, Nil) | Nil = nil)
- #image(val : String | Nil = nil)
- #is_binary?(bin) : Bool
- #license(*args, **options)
- #license(*args, **options, &)
- #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 = true)
- #sign_software(hardened_runtime = true)
- #signing_identity(val : Union(String, Nil) | Nil = nil)
- #staging_path
- #supported? : Bool
- #welcome_template(val : String | Nil = nil)
- #write_distribution_file
- #write_entitlements_file
- #write_scripts
Instance methods inherited from class Barista::Behaviors::Omnibus::Packagers::Base
build : Nil
build,
cleanup
cleanup,
configure : Nil
configure,
exclusions
exclusions,
id : Symbol
id,
inclusions
inclusions,
install_dir(*args, **options)install_dir(*args, **options, &) install_dir, package_name package_name, project : Barista::Behaviors::Omnibus::Project project, run run, safe_package_name : String safe_package_name, supported? : Bool supported?
Constructor methods inherited from class Barista::Behaviors::Omnibus::Packagers::Base
new(project : Barista::Behaviors::Omnibus::Project)
new
Macros inherited from class Barista::Behaviors::Omnibus::Packagers::Base
gen_supported(cmd, regex_test)
gen_supported
Instance methods inherited from module Barista::Behaviors::Software::Emittable
collect_error(arr : Array(String))
collect_error,
collect_output(arr : Array(String))
collect_output,
forward_error(&block : String -> )
forward_error,
forward_output(&block : String -> )
forward_output,
on_erroron_error(&block : String -> Nil) on_error, on_output
on_output(&block : String -> Nil) on_output