module

Barista::Behaviors::Omnibus::PlatformEnv

Instance methods

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`
Source
with_embedded_path(env = {} of String => String) : Hash(String, String)
Source
with_standard_compiler_flags(env = {} of String => String, opts = {} of String => String) : Hash(String, String)
Source