class Barista::Behaviors::Omnibus::Packagers::Deb

Defined in:

barista/behaviors/omnibus/packagers/deb.cr

Constant Summary

CONTROL_TEMPLATE = Barista.project_file("/behaviors/omnibus/packagers/scripts/deb/control.hbs")

Constructors

Class Method Summary

Instance Method Summary

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_error
on_error(&block : String -> Nil)
on_error
, on_output
on_output(&block : String -> Nil)
on_output

Macros inherited from module Barista::Behaviors::Omnibus::Macros

gen_collection_method(name, var_name, type) gen_collection_method, gen_method(name, type, &block) gen_method

Instance methods inherited from module Barista::Behaviors::Software::OS::Information

kernel : Kernel.class kernel

Instance methods inherited from module Barista::Behaviors::Software::OS::PlatformFamily

aix? aix?, amazon? amazon?, arch? arch?, debian? debian?, fedora? fedora?, freebsd? freebsd?, gentoo? gentoo?, macos? macos?, netbsd? netbsd?, openbsd? openbsd?, platform_short_name platform_short_name, redhat_based? redhat_based?, rhel6? rhel6?, rhel7? rhel7?, rhel8? rhel8?, rhel? rhel?, rpm_based? rpm_based?, smartos? smartos?, solaris? solaris?, suse? suse?

Instance methods inherited from module Barista::Behaviors::Software::OS::Linux::Information

memory memory, platform platform

Constructor Detail

def self.new(project : Barista::Behaviors::Omnibus::Project) #

[View source]

Class Method Detail

def self.supported? : Bool #

[View source]

Instance Method Detail

def build : Nil #

[View source]
def configure : Nil #

[View source]
def create_deb_file #

[View source]
def id : Symbol #

[View source]
def license(*args, **options) #

[View source]
def license(*args, **options, &) #

[View source]
def list_files #

[View source]
def package_name #

[View source]
def query #

[View source]
def supported? : Bool #

[View source]
def write_conffiles_file #

[View source]
def write_control_file #

[View source]
def write_md5_sums #

[View source]
def write_scripts #

[View source]