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:64

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:209

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:177

private cleanup( ): Promise

Delegates to the cleanup method of the wrapped Broccoli builder.

Return:

lib/models/builder.js:86

private copyToOutputPath(inputPath)

Parameters:

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

private processAddonBuildSteps(buildStep, results): Promise

Parameters:

Name Type Attribute Description
buildStep Object
results Object

Return:

lib/models/builder.js:110

private processBuildResult(results): Promise

Parameters:

Name Type Attribute Description
results Object

Return:

lib/models/builder.js:40

private setupBroccoliBuilder( )