alter deploy
This commit is contained in:
@@ -11,7 +11,6 @@
|
|||||||
"bootstrap": "~3.3.5",
|
"bootstrap": "~3.3.5",
|
||||||
"mustache": "~2.1.2",
|
"mustache": "~2.1.2",
|
||||||
"jquery-rss": "~1.5.1",
|
"jquery-rss": "~1.5.1",
|
||||||
"bower": "*",
|
|
||||||
"install": "~1.0.4",
|
"install": "~1.0.4",
|
||||||
"jquery.easing": "~1.3.1",
|
"jquery.easing": "~1.3.1",
|
||||||
"lodestoneapi.min": "http://xivsync.com/lodestoneapi.min.js",
|
"lodestoneapi.min": "http://xivsync.com/lodestoneapi.min.js",
|
||||||
|
|||||||
@@ -118,11 +118,13 @@ if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# 4. Install bower packages
|
# 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
|
eval $NPM_CMD install bower
|
||||||
exitWithMessageOnError "installing bower failed"
|
exitWithMessageOnError "installing bower failed"
|
||||||
./node_modules/.bin/bower install
|
./node_modules/.bin/bower install
|
||||||
exitWithMessageOnError "bower failed"
|
exitWithMessageOnError "bower failed"
|
||||||
|
cd - > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user