Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed Apr 7, 2015
1 parent ecf0bef commit e50012e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions lib/models/blueprint.js
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,33 @@ Blueprint.prototype.install = function(options) {
this.afterInstall);
};

Blueprint.prototype.install2 = function(options) {
var ui = this.ui = options.ui;
var dryRun = this.dryRun = options.dryRun;
this.project = options.project;
this.pod = options.pod;
this.hasPathToken = hasPathToken(this.files());

podDeprecations(this.project.config(), ui);

ui.writeLine('installing');

if (dryRun) {
ui.writeLine(chalk.yellow('You specified the dry-run flag, so no' +
' changes will be written.'));
}

this._normalizeEntityName(options.entity);
this._checkForPod(options.verbose);
this._checkInRepoAddonExists(options.inRepoAddon);

return this._process(
options,
this.beforeInstall,
this.processFiles,
this.afterInstall);
};

/**
@method uninstall
@param {Object} options
Expand Down

0 comments on commit e50012e

Please sign in to comment.