Module: BuildEnvironment::DSL Private

Extended by:
T::Sig
Included in:
Formula, Requirement
Defined in:
build_environment.rb

Overview

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

DSL for specifying build environment settings.

Instance Method Summary collapse

Instance Method Details

#env(*settings) ⇒ BuildEnvironment

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.

Parameters:

Returns:



42
43
44
45
# File 'build_environment.rb', line 42

def env(*settings)
  @env ||= BuildEnvironment.new
  @env.merge(settings)
end