MCPcopy Create free account
hub / github.com/ember-cli/ember-cli / setupProject

Function setupProject

tests/helpers/default-packager.js:293–302  ·  view source on GitHub ↗
(rootPath)

Source from the content-addressed store, hash-verified

291}
292
293function setupProject(rootPath) {
294 const path = require('path');
295 const Project = require('../../lib/models/project');
296 const MockCLI = require('./mock-cli');
297
298 const packageContents = require(path.join(rootPath, 'package.json'));
299 let cli = new MockCLI();
300
301 return new Project(rootPath, packageContents, cli.ui, cli);
302}
303
304module.exports = {
305 setupProject,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…