forked from ember-cli-deploy/ember-cli-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
38 lines (27 loc) · 1.44 KB
/
index.js
File metadata and controls
38 lines (27 loc) · 1.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
var path = require('path');
var commands = require('./lib/commands');
var red = require('chalk').red;
var grey = require('chalk').grey;
var hasDeprecatedConfig = require('./lib/utilities/detect-deprecated-config');
if (hasDeprecatedConfig()) {
console.log(red('\n===========================================================================\n'));
console.log(red('NOTICE TO USERS OF ember-cli-deploy VERSION <= 0.0.6\n\n'));
console.log(grey('ember-cli/ember-cli-deploy') + red(' will now be using this npm module to host the\n'));
console.log(red('offial Ember CLI deployment tool.\n\n'));
console.log(red('Due to the changes being made, you should migrate your project to use the\n'));
console.log(red('new module now.\n\n'));
console.log(red('For more information on how to migrate from ') + grey('achambers/ember-cli-deploy') + red(' to ') + grey('ember-cli/ember-cli-deploy') + red(', please go to:\n\n'));
console.log(red('https://github.com/ember-cli/ember-cli-deploy/blob/master/MIGRATION_STEPS.md'));
console.log(red('\n===========================================================================\n'));
}
function Deploy() {
this.name = "ember-cli-deploy"
return this;
}
Deploy.prototype.includedCommands = function() {
return commands;
};
Deploy.prototype.blueprintsPath = function() {
return path.join(__dirname, 'blueprints');
};
module.exports = Deploy;