class BuildContext

Defined in:

donk/build_context.cr

Constant Summary

DONKROOT_FILE_NAME = "DonkConfig.rb"

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.get_root(current) : Path #

[View source]

Instance Method Detail

def build_rules : Hash(DonkPath, BuildRule) #

[View source]
def config : Config #

[View source]
def container_binary : String #

[View source]
def current_dir : Path #

[View source]
def define_rule(rule : BuildRule) #

[View source]
def define_rule(rule : RunRule) #

[View source]
def donk_config_path : Path #

[View source]
def expand_path(path : String) : Path #

[View source]
def root_dir : Path #

[View source]
def run_rules : Hash(DonkPath, RunRule) #

[View source]