Permalink
Browse files

496: notify the user of the new azure-cli module on install with a po…

…stinstall script
  • Loading branch information...
Andre Rodrigues
Andre Rodrigues committed Nov 22, 2012
1 parent 9ab7255 commit cf273e46a0f04f66443e7d32da3cdb2d34aad6a0
Showing with 18 additions and 0 deletions.
  1. +1 −0 package.json
  2. +17 −0 scripts/azure.js
View
@@ -39,6 +39,7 @@
"url" : "http://github.com/WindowsAzure/azure-sdk-for-node/issues"
},
"scripts": {
+ "postinstall" : "node scripts/azure.js",
"test": "node test/runtests.js testlist.txt",
"jshint": "node test/runjshint.js",
"coverage": "node test/runtests.js testlist.txt -coverage > coverage.html",
View
@@ -0,0 +1,17 @@
+/**
+* Copyright (c) Microsoft. All rights reserved.
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+console.log('The azure cli has been moved to a separate project. Please use "npm install azure-cli" to get it.');
+console.log('');

0 comments on commit cf273e4

Please sign in to comment.