Permalink
Browse files

invoke `npm install` upon push

  • Loading branch information...
fgnass committed May 10, 2012
1 parent a7aa763 commit 3ce5df3392ea58c24f44a3814cb9e1a62906fa55
Showing with 10 additions and 5 deletions.
  1. +10 −5 scripts/example_gitrepoclone.sh
@@ -3,13 +3,13 @@
echo ""
echo ""
-echo -e "\033[33m\033[1m
- _ _
- _ __ ___ __| | ___ ___| |_ ___ _ __
+echo -e "\033[33m\033[1m
+ _ _
+ _ __ ___ __| | ___ ___| |_ ___ _ __
| '_ \ / _ \ / _ |/ _ \ __| __/ _ \ '__|
- | | | | (_) | (_| | __\__ \ |_ __/ |
+ | | | | (_) | (_| | __\__ \ |_ __/ |
|_| |_|\___/ \__,_|\___|___/\__\___|_| \033[22m\033[39m
-
+
\033[1mOpen Source Node.js Hosting Platform.\033[22m
http://github.com/nodester"
echo ""
@@ -50,6 +50,11 @@ if [ -f ./.gitmodules ]; then
git submodule update;
fi
+if [ -f ./package.json ]; then
+ echo "Updating npm modules..."
+ npm install
+fi
+
cd $OLD_PWD
echo "Attempting to restart your app: ${gitdir}"

0 comments on commit 3ce5df3

Please sign in to comment.