module Barista::Behaviors::Omnibus::PlatformEnv

Direct including types

Defined in:

barista/behaviors/omnibus/platform_env.cr

Instance Method Summary

Instance Method Detail

def with_destdir(env : Hash(String, String) | Nil = {} of String => String) #

When used with caching and make, this env modifier will install a prefixed staged build to stage_dir

example

command("./configure --prefix=/opt/coffeeshop/embedded")
command("make install", env: with_destdir)
# files are located at `/opt/barista/stage/<task>/opt/coffeeshop/embedded`

[View source]
def with_embedded_path(env = {} of String => String) : Hash(String, String) #

[View source]
def with_standard_compiler_flags(env = {} of String => String, opts = {} of String => String) : Hash(String, String) #

[View source]