Skip to content

module Barista::Behaviors::Omnibus::PlatformEnv #

Direct including types

Barista::Behaviors::Omnibus::Task

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 ```crystal command("./configure --prefix=/opt/coffeeshop/embedded") command("make install", env: with_destdir)

files are located at /opt/barista/stage/<task>/opt/coffeeshop/embedded#

````

#with_embedded_path(env = {} of String => String) : Hash(String, String)#

#with_standard_compiler_flags(env = {} of String => String, opts = {} of String => String) : Hash(String, String)#