cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [2/2] git commit: adding notice regarding permissions for tool upon install
Date Wed, 24 Oct 2012 23:36:44 GMT
adding notice regarding permissions for tool upon install


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/commit/e8057729
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/tree/e8057729
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/diff/e8057729

Branch: refs/heads/cordova-client
Commit: e8057729492a79776e655c320c64406810409f0b
Parents: be5dc05
Author: Fil Maj <maj.fil@gmail.com>
Authored: Mon Oct 22 22:26:32 2012 -0700
Committer: Fil Maj <maj.fil@gmail.com>
Committed: Mon Oct 22 22:26:32 2012 -0700

----------------------------------------------------------------------
 bin/notice   |    7 +++++++
 package.json |    3 ++-
 2 files changed, 9 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/e8057729/bin/notice
----------------------------------------------------------------------
diff --git a/bin/notice b/bin/notice
new file mode 100755
index 0000000..478a1aa
--- /dev/null
+++ b/bin/notice
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+echo "************************************************************************";
+echo "* Please NOTE: it is highly recommended to run the command:            *";
+echo "*     sudo chown -R <yourusername> /usr/local/lib/node_modules/cordova *";
+echo "* This will allow you to run this tool globally without root.          *";
+echo "************************************************************************";

http://git-wip-us.apache.org/repos/asf/incubator-cordova-labs/blob/e8057729/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index dbe9fac..09c0bb5 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,8 @@
     "cordova": "./bin/cordova"
   },
   "scripts": {
-    "test": "node test_bootstrap.js && ./node_modules/jasmine-node/bin/jasmine-node
--color spec"
+    "test": "node test_bootstrap.js && ./node_modules/jasmine-node/bin/jasmine-node
--color spec",
+    "install": "./bin/notice"
   },
   "repository": {
     "type": "git",


Mime
View raw message