cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtan...@apache.org
Subject [9/17] git commit: Need to run npm install on the template app
Date Tue, 29 Jan 2013 02:49:08 GMT
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 <gtanner@gmail.com>
Authored: Sat Jan 26 16:02:20 2013 -0500
Committer: Gord Tanner <gtanner@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
+


Mime
View raw message