MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / readBuildFile

Method readBuildFile

lib/models/builder.js:41–49  ·  view source on GitHub ↗

* @private * @method readBuildFile * @param path The file path to read the build file from

(path)

Source from the content-addressed store, hash-verified

39 * @param path The file path to read the build file from
40 */
41 async readBuildFile(path) {
42 // Load the build file
43 let buildFile = await findBuildFile(path);
44 if (buildFile) {
45 return await buildFile({ project: this.project });
46 }
47
48 throw new SilentError('No ember-cli-build.js found.');
49 }
50
51 async ensureBroccoliBuilder() {
52 if (this.builder === undefined) {

Callers 1

setupBroccoliBuilderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected