lib/models/builder.js:14
Builder
Wrapper for the Broccoli Builder class.
Method Summary
Private Methods | |
---|---|
private |
|
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 |
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 |
private |
compatNode(node)
broccoli-builder reformats the response into {directory, graph}, this method is a backwards compatible shim for broccoli 1.x |
private |
copyToOutputPath(inputPath)
|
private |
|
private |
processAddonBuildSteps(buildStep, results): Promise
|
private |
processBuildResult(results): Promise
|
private |
readBuildFile(path)
|
private |
|
Private Methods
lib/models/builder.js:179
private build( ): Promise
Return:
lib/models/builder.js:93
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:262
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:227
private cleanup( ): Promise
Delegates to the cleanup
method of the wrapped Broccoli builder.
Return:
lib/models/builder.js:290
private compatNode(node)
broccoli-builder reformats the response into {directory, graph}, this method is a backwards compatible shim for broccoli 1.x
Parameters:
Name | Type | Attribute | Description |
---|---|---|---|
node | Object |
|
The node returned from Broccoli builder |
lib/models/builder.js:115
private copyToOutputPath(inputPath)
Parameters:
Name | Type | Attribute | Description |
---|---|---|---|
inputPath | String |
|
lib/models/builder.js:282
private finalizeBuild( )
lib/models/builder.js:154
private processAddonBuildSteps(buildStep, results): Promise
Return:
lib/models/builder.js:139
private processBuildResult(results): Promise
Parameters:
Name | Type | Attribute | Description |
---|---|---|---|
results | Object |
|
Return:
lib/models/builder.js:40
private readBuildFile(path)
Parameters:
Name | Type | Attribute | Description |
---|---|---|---|
path | Object |
|
The file path to read the build file from |
lib/models/builder.js:55