alter deploy
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
"bootstrap": "~3.3.5",
|
||||
"mustache": "~2.1.2",
|
||||
"jquery-rss": "~1.5.1",
|
||||
"bower": "*",
|
||||
"install": "~1.0.4",
|
||||
"jquery.easing": "~1.3.1",
|
||||
"lodestoneapi.min": "http://xivsync.com/lodestoneapi.min.js",
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user