module Barista::Behaviors::Omnibus::PlatformEnv
Direct including types
Defined in:
barista/behaviors/omnibus/platform_env.crInstance Method Summary
-
#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 tostage_dir
- #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)
Instance Method Detail
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`
def with_standard_compiler_flags(env = {} of String => String, opts = {} of String => String) : Hash(String, String)
#