Wrapper for the Broccoli Builder class.

Method Summary

Private Methods
private
private

Determine whether the output path is safe to delete. If the outputPath appears anywhere in the parents of the project root, the build would delete the project directory. In this case return false, otherwise return true.

private

Checks for issues in the environment that can't easily be detected until after a build and issues any necessary deprecation warnings.

private

Delegates to the cleanup method of the wrapped Broccoli builder.

private
copyToOutputPath(inputPath)
private
processAddonBuildSteps(buildStep, results): Promise
private
private

Private Methods

Return:

lib/models/builder.js:98

private canDeleteOutputPath(outputPath): Boolean

Determine whether the output path is safe to delete. If the outputPath appears anywhere in the parents of the project root, the build would delete the project directory. In this case return false, otherwise return true.

Parameters:

Name Type Attribute Description
outputPath String

Return:

lib/models/builder.js:276

private checkForPostBuildEnvironmentIssues( )

Checks for issues in the environment that can't easily be detected until after a build and issues any necessary deprecation warnings.

  • check for old (pre 0.1.4) versions of heimdalljs
lib/models/builder.js:244

private cleanup( ): Promise

Delegates to the cleanup method of the wrapped Broccoli builder.

Return:

lib/models/builder.js:120

private copyToOutputPath(inputPath)

Parameters:

Name Type Attribute Description
inputPath String
lib/models/builder.js:144

private processAddonBuildSteps(buildStep, results): Promise

Parameters:

Name Type Attribute Description
buildStep Object
results Object

Return:

lib/models/builder.js:39

private readBuildFile(path)

Parameters:

Name Type Attribute Description
path Object

The file path to read the build file from

lib/models/builder.js:60

private setupBroccoliBuilder( )