You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by gt...@apache.org on 2013/01/29 03:49:08 UTC

[9/17] git commit: Need to run npm install on the template app

Need to run npm install on the template app


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

Branch: refs/heads/cordova-firefoxos
Commit: 691eb3cd8b34b899fc05f50661ddea9f9cfaceee
Parents: 2a8d53f
Author: Gord Tanner <gt...@gmail.com>
Authored: Sat Jan 26 16:02:20 2013 -0500
Committer: Gord Tanner <gt...@gmail.com>
Committed: Sat Jan 26 16:02:20 2013 -0500

----------------------------------------------------------------------
 bin/create |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/691eb3cd/bin/create
----------------------------------------------------------------------
diff --git a/bin/create b/bin/create
index e036dd8..f0074a0 100755
--- a/bin/create
+++ b/bin/create
@@ -68,3 +68,9 @@ cp $BUILD_PATH/javascript/cordova.b2g.js $PROJECT_PATH/www/cordova-$VERSION.js
 # interpolate the app name into manifest.webapp
 echo "Updating manifest.webapp ..."
 sed -i '' -e "s/__NAME__/${APPNAME}/g" "$MANIFEST_PATH"
+
+echo "Updating npm modules ..."
+cd $PROJECT_PATH
+npm install
+cd $BUILD_PATH
+