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

[15/30] 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-firefoxos/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/commit/fb87838a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/tree/fb87838a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/diff/fb87838a

Branch: refs/heads/master
Commit: fb87838a7b92ec36efc28919efe303f83c1414df
Parents: a0a10e4
Author: Gord Tanner <gt...@gmail.com>
Authored: Sat Jan 26 16:02:20 2013 -0500
Committer: hermwong <he...@gmail.com>
Committed: Wed Mar 13 14:22:03 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-firefoxos/blob/fb87838a/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
+