alter deploy

This commit is contained in:
Tommy Parnell
2015-06-29 15:50:12 -04:00
parent e062d0177a
commit b28f5df635
2 changed files with 3 additions and 2 deletions

View File

@@ -118,11 +118,13 @@ if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then
fi
# 4. Install bower packages
if [ -e "$DEPLOYMENT_SOURCE/bower.json" ]; then
if [ -e "$DEPLOYMENT_TARGET/bower.json" ]; then
cd "$DEPLOYMENT_TARGET"
eval $NPM_CMD install bower
exitWithMessageOnError "installing bower failed"
./node_modules/.bin/bower install
exitWithMessageOnError "bower failed"
cd - > /dev/null
fi