Skip to content

Commit

Permalink
update ads, add time
Browse files Browse the repository at this point in the history
  • Loading branch information
tjanczuk committed Apr 30, 2012
1 parent 625a472 commit 1a144dc
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/cli/commands/common.js
Expand Up @@ -26,14 +26,14 @@ exports.startWait = function () {
exports.startAds = function () {

var ads = [
'Did you know you can easily access Windows Azure services from node.js? Check out https://github.com/WindowsAzure/azure-sdk-for-node for details.',
'Did you know Windows Azure offers three storage services for your data: blob storage, table storage, and MS SQL? Visit https://www.windowsazure.com to learn more.',
'Did you know Windows Azure has a ' + '90-day free trial'.green + '? Check out https://www.windowsazure.com to find out the details.',
'Did you know you can host node.js applications in IIS along with other types of content? Visit https://github.com/tjanczuk/iisnode for more information.',
'Did you know you can develop node.js applications in WebMatrix on Windows? Download it for free at http://www.microsoft.com/web/webmatrix/.',
'Did you know Windows Azure SDK for node.js has everything you need to develop node.js apps on Windows? Check out https://www.windowsazure.com/en-us/develop/nodejs/ for more.',
'Did you know you can easily access Windows Azure services from node.js?\nCheck out https://github.com/WindowsAzure/azure-sdk-for-node for details.',
'Did you know Windows Azure offers three storage services for your data: blob storage, table storage, and MS SQL?\nVisit https://www.windowsazure.com to learn more.',
'Did you know Windows Azure has a ' + '90-day free trial'.green + '?\nCheck out https://www.windowsazure.com for details.',
'Did you know you can host node.js applications in IIS along with other types of content?\nVisit https://github.com/tjanczuk/iisnode to get started.',
'Did you know you can develop node.js applications in WebMatrix on Windows?\nDownload it for free at http://www.microsoft.com/web/webmatrix/',
'Did you know Windows Azure SDK for node.js has everything you need to develop node.js apps on Windows?\nCheck out https://www.windowsazure.com/en-us/develop/nodejs/ for more.',
'Did you know that node.js developers live on average 2.7 years longer than PHP devs? [Quotation needed]',
'[Place for your ad] Send money and text of the ad to @tjanczuk. Seriously ;)'
'[Place for your ad] Send money and text of the ad to @tjanczuk. Seriously.'
];

var showAd = function () {
Expand Down
12 changes: 12 additions & 0 deletions src/cli/commands/init.js
Expand Up @@ -52,6 +52,8 @@ exports.action = function (cmd) {
clearInterval(adsInterval);
clearInterval(waitInterval);

console.log(('Finished at ' + new Date()).grey);

process.exit(1);
};

Expand Down Expand Up @@ -95,6 +97,8 @@ exports.action = function (cmd) {
clearInterval(adsInterval);
clearInterval(waitInterval);

console.log(('Finished at ' + new Date()).grey);

process.exit(1);
}
else if (success) {
Expand All @@ -109,6 +113,8 @@ exports.action = function (cmd) {
clearInterval(adsInterval);
clearInterval(waitInterval);

console.log(('Finished at ' + new Date()).grey);

process.exit(0);
}
else {
Expand Down Expand Up @@ -435,6 +441,10 @@ exports.action = function (cmd) {
};

var deleteService = function (callback) {

console.log(('INFO: if you like coffee, now is the time to get yourself a cup. '
+ 'The process of provisioning your own VM in Windows Azure typically takes several minutes...').blue);

common.httpsRequest(
config.subscriptionId,
config.managementCertificate,
Expand Down Expand Up @@ -804,6 +814,8 @@ exports.action = function (cmd) {
checkParametersValid()
}

console.log(('Starting at ' + new Date()).grey);

common.getCurrentConfig(function (err, gitConfig) {
if (err) {
console.error(err.toString())
Expand Down

0 comments on commit 1a144dc

Please sign in to comment.